17 #ifndef ITKSKELETONIZATIONFILTER_H_
18 #define ITKSKELETONIZATIONFILTER_H_
20 #include "itkImageToImageFilter.h"
23 #include <itkVectorImage.h>
39 template <
class TInputImage,
class TOutputImage >
64 typedef ImageToImageFilter<InputImageType, OutputImageType>
Superclass;
70 itkFactorylessNewMacro(Self)
102 if (x>0.0)
return ((
int) (x+0.5));
103 else return ((
int) (x-0.5));
115 #ifndef ITK_MANUAL_INSTANTIATION
SkeletonizationFilter Self
itk::SmartPointer< Self > Pointer
virtual void GenerateData()
Performs the work.
VectorImageType::Pointer m_DirectionImage
itk::Image< VectorType, 3 > VectorImageType
ImageToImageFilter< InputImageType, OutputImageType > Superclass
SmartPointer< Self > Pointer
itk::CovariantVector< int, 3 > VectorType
VectorImageType::Pointer GetVectorImage()
Output the gradient image as an itkImage containing vector.
SmartPointer< const Self > ConstPointer
Skeletonization part of the TBSS pipeline.
GradientImageType::Pointer GetGradientImage()
Output the gradient image as itkVectorImage.
TInputImage InputImageType
TOutputImage OutputImageType
itk::VectorImage< int, 3 > GradientImageType
virtual ~SkeletonizationFilter()