ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkHessian3DToVesselnessMeasureImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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 {
75 template< typename TPixel >
77  ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >,
78  Image< TPixel, 3 > >
79 {
80 public:
83  typedef ImageToImageFilter<
86 
89 
92  typedef typename InputImageType::PixelType InputPixelType;
93  typedef TPixel OutputPixelType;
94 
96  itkStaticConstMacro(ImageDimension, unsigned int,
97  InputImageType ::ImageDimension);
98  itkStaticConstMacro(InputPixelDimension, unsigned int,
99  InputPixelType::Dimension);
101 
108 
111 
113  itkNewMacro(Self);
114 
117  itkSetMacro(Alpha1, double);
118  itkGetConstMacro(Alpha1, double);
120 
123  itkSetMacro(Alpha2, double);
124  itkGetConstMacro(Alpha2, double);
126 
127 #ifdef ITK_USE_CONCEPT_CHECKING
128  // Begin concept checking
129  itkConceptMacro( DoubleConvertibleToOutputCheck,
131  // End concept checking
132 #endif
133 
134 protected:
137  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
138 
140  void GenerateData(void) ITK_OVERRIDE;
141 
142 private:
143  Hessian3DToVesselnessMeasureImageFilter(const Self &) ITK_DELETE_FUNCTION;
144  void operator=(const Self &) ITK_DELETE_FUNCTION;
145 
147 
148  double m_Alpha1;
149  double m_Alpha2;
150 };
151 } // end namespace itk
152 
153 #ifndef ITK_MANUAL_INSTANTIATION
154 #include "itkHessian3DToVesselnessMeasureImageFilter.hxx"
155 #endif
156 
157 #endif
Light weight base class for most itk classes.
Computes the eigen-values of every input symmetric matrix pixel.
void PrintSelf(std::ostream &os, Indent indent) const override
SymmetricEigenAnalysisImageFilter< InputImageType, EigenValueImageType > EigenAnalysisFilterType
Simulate a standard C array with copy semnatics.
Definition: itkFixedArray.h:50
Image< EigenValueArrayType, itkGetStaticConstMacro(ImageDimension) > EigenValueImageType
Line filter to provide a vesselness measure for tubular objects from the hessian matrix.
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
FixedArray< double, itkGetStaticConstMacro(InputPixelDimension) > EigenValueArrayType
ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, Image< TPixel, 3 > > Superclass
#define itkConceptMacro(name, concept)
Templated n-dimensional image class.
Definition: itkImage.h:75