ITK  6.0.0
Insight Toolkit
itkHessian3DToVesselnessMeasureImageFilter.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 itkHessian3DToVesselnessMeasureImageFilter_h
19 #define itkHessian3DToVesselnessMeasureImageFilter_h
20 
23 
24 namespace itk
25 {
76 template <typename TPixel>
77 class ITK_TEMPLATE_EXPORT Hessian3DToVesselnessMeasureImageFilter
78  : public ImageToImageFilter<Image<SymmetricSecondRankTensor<double, 3>, 3>, Image<TPixel, 3>>
79 {
80 public:
81  ITK_DISALLOW_COPY_AND_MOVE(Hessian3DToVesselnessMeasureImageFilter);
82 
86 
89 
90  using typename Superclass::InputImageType;
91  using typename Superclass::OutputImageType;
93  using OutputPixelType = TPixel;
94 
96  static constexpr unsigned int ImageDimension = InputImageType::ImageDimension;
97  static constexpr unsigned int InputPixelDimension = InputPixelType::Dimension;
98 
103 
105  itkOverrideGetNameOfClassMacro(Hessian3DToVesselnessMeasureImageFilter);
106 
108  itkNewMacro(Self);
109 
112  itkSetMacro(Alpha1, double);
113  itkGetConstMacro(Alpha1, double);
118  itkSetMacro(Alpha2, double);
119  itkGetConstMacro(Alpha2, double);
122 #ifdef ITK_USE_CONCEPT_CHECKING
123  // Begin concept checking
124  itkConceptMacro(DoubleConvertibleToOutputCheck, (Concept::Convertible<double, OutputPixelType>));
125  // End concept checking
126 #endif
127 
128 protected:
130  ~Hessian3DToVesselnessMeasureImageFilter() override = default;
131  void
132  PrintSelf(std::ostream & os, Indent indent) const override;
133 
135  void
136  GenerateData() override;
137 
138 private:
139  typename EigenAnalysisFilterType::Pointer m_SymmetricEigenValueFilter{};
140 
141  double m_Alpha1{};
142  double m_Alpha2{};
143 };
144 } // end namespace itk
145 
146 #ifndef ITK_MANUAL_INSTANTIATION
147 # include "itkHessian3DToVesselnessMeasureImageFilter.hxx"
148 #endif
149 
150 #endif
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::ImageToImageFilter
Base class for filters that take an image as input and produce an image as output.
Definition: itkImageToImageFilter.h:108
itk::Hessian3DToVesselnessMeasureImageFilter::OutputPixelType
TPixel OutputPixelType
Definition: itkHessian3DToVesselnessMeasureImageFilter.h:93
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itkSymmetricSecondRankTensor.h
itk::SymmetricEigenAnalysisFixedDimensionImageFilter
Computes the eigen-values of every input symmetric matrix pixel.
Definition: itkSymmetricEigenAnalysisImageFilter.h:322
itk::FixedArray
Simulate a standard C array with copy semantics.
Definition: itkFixedArray.h:53
itk::Image::PixelType
TPixel PixelType
Definition: itkImage.h:108
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:65
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::Hessian3DToVesselnessMeasureImageFilter::InputPixelType
typename InputImageType::PixelType InputPixelType
Definition: itkHessian3DToVesselnessMeasureImageFilter.h:92
itk::Concept::Convertible
Definition: itkConceptChecking.h:217
itk::Image
Templated n-dimensional image class.
Definition: itkImage.h:88
itk::Hessian3DToVesselnessMeasureImageFilter
Line filter to provide a vesselness measure for tubular objects from the hessian matrix.
Definition: itkHessian3DToVesselnessMeasureImageFilter.h:77
itk::GTest::TypedefsAndConstructors::Dimension2::Dimension
constexpr unsigned int Dimension
Definition: itkGTestTypedefsAndConstructors.h:44
itkSymmetricEigenAnalysisImageFilter.h