ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkHessianGaussianImageFilter.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 itkHessianGaussianImageFilter_h
20#define itkHessianGaussianImageFilter_h
21
24#include "itkImage.h"
26#include "itkPixelTraits.h"
27
28namespace itk
29{
48
49template <typename TInputImage,
50 typename TOutputImage =
52 TInputImage::ImageDimension>,
53 TInputImage::ImageDimension>>
54class ITK_TEMPLATE_EXPORT HessianGaussianImageFilter : public ImageToImageFilter<TInputImage, TOutputImage>
55{
56public:
57 ITK_DISALLOW_COPY_AND_MOVE(HessianGaussianImageFilter);
58
64
66 using InputImageType = TInputImage;
67 using PixelType = typename TInputImage::PixelType;
69
71 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
72
76 using InternalRealType = float;
78
85
88
91
93 using OutputImagePointer = typename TOutputImage::Pointer;
94
96 using OutputImageType = TOutputImage;
97 using OutputPixelType = typename OutputImageType::PixelType;
99
101 itkOverrideGetNameOfClassMacro(HessianGaussianImageFilter);
102
104 itkNewMacro(Self);
105
107 void
110 GetSigma() const;
111
115 void
116 SetNormalizeAcrossScale(bool normalizeInScaleSpace);
117 bool
119 itkBooleanMacro(NormalizeAcrossScale);
120
126 // TODO
127 void
129
130 itkConceptMacro(InputHasNumericTraitsCheck, (Concept::HasNumericTraits<PixelType>));
131 itkConceptMacro(OutputHasPixelTraitsCheck, (Concept::HasPixelTraits<OutputPixelType>));
132
133protected:
135 ~HessianGaussianImageFilter() override = default;
136 void
137 PrintSelf(std::ostream & os, Indent indent) const override;
138
140 void
141 GenerateData() override;
142
143private:
147}; // end class
148} // namespace itk
149
150#ifndef ITK_MANUAL_INSTANTIATION
151# include "itkHessianGaussianImageFilter.hxx"
152#endif
153
154#endif // itkHessianGaussianImageFilter_h
Calculates image derivatives using discrete derivative gaussian kernels. This filter calculates Gauss...
ImageToImageFilter< TInputImage, TOutputImage > Superclass
typename DerivativeFilterType::Pointer DerivativeFilterPointer
typename OutputImageType::PixelType OutputPixelType
typename TInputImage::PixelType PixelType
NthElementImageAdaptor< TOutputImage, InternalRealType > OutputImageAdaptorType
static constexpr unsigned int ImageDimension
DiscreteGaussianDerivativeImageFilter< InputImageType, RealImageType > DerivativeFilterType
void GenerateInputRequestedRegion() override
Image< InternalRealType, TInputImage::ImageDimension > RealImageType
~HessianGaussianImageFilter() override=default
typename OutputImageAdaptorType::Pointer OutputImageAdaptorPointer
void SetSigma(RealType sigma)
void SetNormalizeAcrossScale(bool normalizeInScaleSpace)
typename NumericTraits< PixelType >::RealType RealType
void PrintSelf(std::ostream &os, Indent indent) const override
typename PixelTraits< OutputPixelType >::ValueType OutputComponentType
typename TOutputImage::Pointer OutputImagePointer
Templated n-dimensional image class.
Definition itkImage.h:89
Control indentation during Print() invocation.
Definition itkIndent.h:53
Presents an image as being composed of the N-th element of its pixels.
Traits for a pixel that define the dimension and component type.
Implements transparent reference counting.
#define itkConceptMacro(name, conceptType)
Compile-time check that a template argument satisfies an itk::Concept.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....