ITK  5.2.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  * http://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_ASSIGN(Hessian3DToVesselnessMeasureImageFilter);
82 
86 
89 
90  using InputImageType = typename Superclass::InputImageType;
91  using OutputImageType = typename Superclass::OutputImageType;
92  using InputPixelType = typename InputImageType::PixelType;
93  using OutputPixelType = TPixel;
94 
96  static constexpr unsigned int ImageDimension = InputImageType ::ImageDimension;
97  static constexpr unsigned int InputPixelDimension = InputPixelType::Dimension;
98 
103 
106 
108  itkNewMacro(Self);
109 
112  itkSetMacro(Alpha1, double);
113  itkGetConstMacro(Alpha1, double);
115 
118  itkSetMacro(Alpha2, double);
119  itkGetConstMacro(Alpha2, double);
121 
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:
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::Hessian3DToVesselnessMeasureImageFilter::m_Alpha1
double m_Alpha1
Definition: itkHessian3DToVesselnessMeasureImageFilter.h:141
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::Hessian3DToVesselnessMeasureImageFilter::OutputImageType
typename Superclass::OutputImageType OutputImageType
Definition: itkHessian3DToVesselnessMeasureImageFilter.h:91
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::Hessian3DToVesselnessMeasureImageFilter::m_Alpha2
double m_Alpha2
Definition: itkHessian3DToVesselnessMeasureImageFilter.h:142
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itkSymmetricSecondRankTensor.h
itk::SymmetricEigenAnalysisFixedDimensionImageFilter
Computes the eigen-values of every input symmetric matrix pixel.
Definition: itkSymmetricEigenAnalysisImageFilter.h:307
itk::Hessian3DToVesselnessMeasureImageFilter::m_SymmetricEigenValueFilter
EigenAnalysisFilterType::Pointer m_SymmetricEigenValueFilter
Definition: itkHessian3DToVesselnessMeasureImageFilter.h:139
itk::FixedArray
Simulate a standard C array with copy semantics.
Definition: itkFixedArray.h:52
itk::Hessian3DToVesselnessMeasureImageFilter::InputImageType
typename Superclass::InputImageType InputImageType
Definition: itkHessian3DToVesselnessMeasureImageFilter.h:90
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:64
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::Hessian3DToVesselnessMeasureImageFilter::InputPixelType
typename InputImageType::PixelType InputPixelType
Definition: itkHessian3DToVesselnessMeasureImageFilter.h:92
itk::Concept::Convertible
Definition: itkConceptChecking.h:214
itk::Image
Templated n-dimensional image class.
Definition: itkImage.h:86
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