ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkDifferenceOfGaussiansGradientImageFilter.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#ifndef itkDifferenceOfGaussiansGradientImageFilter_h
19#define itkDifferenceOfGaussiansGradientImageFilter_h
20
22#include "itkCovariantVector.h"
23
24namespace itk
25{
35template <typename TInputImage, typename TDataType>
37 : public ImageToImageFilter<
38 TInputImage,
39 Image<CovariantVector<TDataType, TInputImage::ImageDimension>, TInputImage::ImageDimension>>
40{
41public:
42 ITK_DISALLOW_COPY_AND_MOVE(DifferenceOfGaussiansGradientImageFilter);
43
45 static constexpr unsigned int NDimensions = TInputImage::ImageDimension;
46
49
53
58
60 itkNewMacro(Self);
61
63 itkOverrideGetNameOfClassMacro(DifferenceOfGaussiansGradientImageFilter);
64
67
69 using IndexType = typename TInputImage::IndexType;
70
72 using PixelType = typename TInputImage::PixelType;
73
75 using OutputImageRegionType = typename TInputImage::RegionType;
76
78 itkGetConstMacro(Width, unsigned int);
79 itkSetMacro(Width, unsigned int);
81
82 itkConceptMacro(DataTypeHasNumericTraitsCheck, (Concept::HasNumericTraits<TDataType>));
83
84protected:
87 void
88 PrintSelf(std::ostream & os, Indent indent) const override;
89
91 void
92 GenerateData() override;
93
94private:
95 unsigned int m_Width{};
96};
97} // end namespace itk
98
99#ifndef ITK_MANUAL_INSTANTIATION
100# include "itkDifferenceOfGaussiansGradientImageFilter.hxx"
101#endif
102
103#endif
~DifferenceOfGaussiansGradientImageFilter() override=default
Image< CovariantVector< TDataType, Self::NDimensions >, Self::NDimensions > TOutputImage
void PrintSelf(std::ostream &os, Indent indent) const override
Templated n-dimensional image class.
Definition itkImage.h:89
Control indentation during Print() invocation.
Definition itkIndent.h:50
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Represent a n-dimensional size (bounds) of a n-dimensional image.
Definition itkSize.h:70