VMTK
Loading...
Searching...
No Matches
itkHessianSmoothed3DToVesselnessMeasureImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Insight Segmentation & Registration Toolkit
4
5 Copyright (c) Insight Software Consortium. All rights reserved.
6 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
7
8 This software is distributed WITHOUT ANY WARRANTY; without even
9 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 PURPOSE. See the above copyright notices for more information.
11
12=========================================================================*/
13#ifndef __itkHessianSmoothed3DToVesselnessMeasureImageFilter_h
14#define __itkHessianSmoothed3DToVesselnessMeasureImageFilter_h
15
16#include "itkSymmetricSecondRankTensor.h"
17#include "itkSymmetricEigenAnalysisImageFilter.h"
18
19namespace itk
20{
47
48template < typename TPixel >
50ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >,
51 Image< TPixel, 3 > >
52{
53public:
56
57 typedef ImageToImageFilter<
58 Image< SymmetricSecondRankTensor< double, 3 >, 3 >,
59 Image< TPixel, 3 > > Superclass;
60
61 typedef SmartPointer<Self> Pointer;
62 typedef SmartPointer<const Self> ConstPointer;
63
64 typedef typename Superclass::InputImageType InputImageType;
65 typedef typename Superclass::OutputImageType OutputImageType;
66 typedef typename InputImageType::PixelType InputPixelType;
67 typedef TPixel OutputPixelType;
68
70 itkStaticConstMacro(ImageDimension, unsigned int,
71 InputImageType::ImageDimension);
72
73 itkStaticConstMacro(InputPixelDimension, unsigned int,
74 InputPixelType::Dimension);
75
76 typedef FixedArray< double, itkGetStaticConstMacro(InputPixelDimension) >
78 typedef Image< EigenValueArrayType, itkGetStaticConstMacro(ImageDimension) >
80 typedef SymmetricEigenAnalysisImageFilter<
82
85
87 itkSetMacro(Alpha, double);
88 itkGetMacro(Alpha, double);
89
91 itkSetMacro(Beta, double);
92 itkGetMacro(Beta, double);
93
95 itkSetMacro(Gamma, double);
96 itkGetMacro(Gamma, double);
97
99 itkSetMacro(C, double);
100 itkGetMacro(C, double);
101
104 itkSetMacro( ScaleVesselnessMeasure, bool );
105 itkGetMacro( ScaleVesselnessMeasure, bool );
106 itkBooleanMacro(ScaleVesselnessMeasure);
107
108#ifdef ITK_USE_CONCEPT_CHECKING
110 itkConceptMacro(DoubleConvertibleToOutputCheck,
111 (Concept::Convertible<double, OutputPixelType>));
113#endif
114
115protected:
118 void PrintSelf(std::ostream& os, Indent indent) const ITK_OVERRIDE;
119
121 void GenerateData( void ) ITK_OVERRIDE;
122
123private:
124
125 //purposely not implemented
127
128 void operator=(const Self&); //purposely not implemented
129
130 typename EigenAnalysisFilterType::Pointer m_SymmetricEigenValueFilter;
131
132 double m_Alpha;
133 double m_Beta;
134 double m_Gamma;
135
136 double m_C;
137
138 bool m_ScaleVesselnessMeasure;
139};
140
141} // end namespace itk
142
143#ifndef ITK_MANUAL_INSTANTIATION
144#include "itkHessianSmoothed3DToVesselnessMeasureImageFilter.txx"
145#endif
146
147#endif
Image< EigenValueArrayType, itkGetStaticConstMacro(ImageDimension) > EigenValueImageType
SymmetricEigenAnalysisImageFilter< InputImageType, EigenValueImageType > EigenAnalysisFilterType
itkStaticConstMacro(ImageDimension, unsigned int, InputImageType::ImageDimension)
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
itkStaticConstMacro(InputPixelDimension, unsigned int, InputPixelType::Dimension)
ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > > Superclass
FixedArray< double, itkGetStaticConstMacro(InputPixelDimension) > EigenValueArrayType