ITK  4.2.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 
90  typedef typename Superclass::InputImageType InputImageType;
91  typedef typename Superclass::OutputImageType OutputImageType;
92  typedef typename InputImageType::PixelType InputPixelType;
93  typedef TPixel OutputPixelType;
94 
96  itkStaticConstMacro(ImageDimension, unsigned int,
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 
129  itkConceptMacro( DoubleConvertibleToOutputCheck,
131 
133 #endif
134 protected:
137  void PrintSelf(std::ostream & os, Indent indent) const;
139 
141  void GenerateData(void);
142 
143 private:
144  Hessian3DToVesselnessMeasureImageFilter(const Self &); //purposely not
145  // implemented
146  void operator=(const Self &); //purposely not
147 
148  // implemented
149 
151 
152  double m_Alpha1;
153  double m_Alpha2;
154 };
155 } // end namespace itk
156 
157 #ifndef ITK_MANUAL_INSTANTIATION
158 #include "itkHessian3DToVesselnessMeasureImageFilter.hxx"
159 #endif
160 
161 #endif
162