ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkRecursiveLineYvvGaussianImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18
19#ifndef itkRecursiveLineYvvGaussianImageFilter_h
20#define itkRecursiveLineYvvGaussianImageFilter_h
21
23#include "itkNumericTraits.h"
25
26namespace itk
27{
43
44template <typename TInputImage, typename TOutputImage = TInputImage>
45class ITK_EXPORT RecursiveLineYvvGaussianImageFilter : public InPlaceImageFilter<TInputImage, TOutputImage>
46{
47public:
48 ITK_DISALLOW_COPY_AND_MOVE(RecursiveLineYvvGaussianImageFilter);
49
55
57 itkNewMacro(Self);
58
60 itkOverrideGetNameOfClassMacro(RecursiveLineYvvGaussianImageFilter);
61
63 using InputImagePointer = typename TInputImage::Pointer;
64 using InputImageConstPointer = typename TInputImage::ConstPointer;
65
71 using InputPixelType = typename TInputImage::PixelType;
72#ifdef WITH_DOUBLE
75#else
78#endif
79
80 using OutputImageRegionType = typename TOutputImage::RegionType;
81
83 using InputImageType = TInputImage;
84
86 using OutputImageType = TOutputImage;
87
89 itkGetConstMacro(Direction, unsigned int);
90
92 itkSetMacro(Direction, unsigned int);
93
95 void
96 SetInputImage(const TInputImage *);
97
99 const TInputImage *
101
117 itkSetMacro(NormalizeAcrossScale, bool);
118 itkGetConstMacro(NormalizeAcrossScale, bool);
119
122 itkGetConstMacro(Sigma, ScalarRealType);
124
125protected:
128 void
129 PrintSelf(std::ostream & os, Indent indent) const override;
130
132 void
134
135 void
136 ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread, ThreadIdType threadId) override;
137
139 GetImageRegionSplitter() const override;
140
149 void
151
156 virtual void
158
165 void
166 FilterDataArray(RealType * outs, const RealType * data, RealType * scratch, unsigned int ln);
167
168protected:
175
176 // Initialization matrix for anti-causal pass
177 vnl_matrix<ScalarRealType> m_MMatrix;
178
179private:
182 unsigned int m_Direction;
183
186
190};
191} // end namespace itk
192
193#ifndef ITK_MANUAL_INSTANTIATION
194# include "itkRecursiveLineYvvGaussianImageFilter.hxx"
195#endif
196
197#endif // itkRecursiveLineYvvGaussianImageFilter_h
Base class for all data objects in ITK.
Divide an image region into several pieces.
Control indentation during Print() invocation.
Definition itkIndent.h:53
void SetInputImage(const TInputImage *)
void PrintSelf(std::ostream &os, Indent indent) const override
const ImageRegionSplitterBase * GetImageRegionSplitter() const override
Get the image splitter to split the image for multi-threading.
virtual void SetUp(ScalarRealType spacing)
void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
typename NumericTraits< InputPixelType >::FloatType RealType
void EnlargeOutputRequestedRegion(DataObject *output) override
void FilterDataArray(RealType *outs, const RealType *data, RealType *scratch, unsigned int ln)
~RecursiveLineYvvGaussianImageFilter() override=default
InPlaceImageFilter< TInputImage, TOutputImage > Superclass
typename NumericTraits< InputPixelType >::FloatType ScalarRealType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType
Definition itkIntTypes.h:98
#define itkSetMacro(name, type)