12 #ifndef __itkBinaryThinningImageFilter3D_h 13 #define __itkBinaryThinningImageFilter3D_h 15 #include <itkNeighborhoodIterator.h> 16 #include <itkImageToImageFilter.h> 17 #include <itkImageRegionIteratorWithIndex.h> 18 #include <itkConstantBoundaryCondition.h> 56 template <
class TInputImage,
class TOutputImage>
58 public ImageToImageFilter<TInputImage,TOutputImage>
63 typedef ImageToImageFilter<TInputImage,TOutputImage>
Superclass;
92 typedef typename RegionType::SizeType
SizeType;
114 TInputImage::ImageDimension );
116 TOutputImage::ImageDimension );
118 #ifdef ITK_USE_CONCEPT_CHECKING 120 itkConceptMacro(SameDimensionCheck,
121 (Concept::SameDimension<InputImageDimension, 3>));
122 itkConceptMacro(SameTypeCheck,
123 (Concept::SameType<InputImagePixelType, OutputImagePixelType>));
124 itkConceptMacro(InputAdditiveOperatorsCheck,
125 (Concept::AdditiveOperators<InputImagePixelType>));
126 itkConceptMacro(InputConvertibleToIntCheck,
127 (Concept::Convertible<InputImagePixelType, int>));
128 itkConceptMacro(IntConvertibleToInputCheck,
129 (Concept::Convertible<int, InputImagePixelType>));
130 itkConceptMacro(InputIntComparableCheck,
131 (Concept::Comparable<InputImagePixelType, int>));
138 void PrintSelf(std::ostream& os, Indent indent)
const;
160 void operator=(
const Self&);
166 #ifndef ITK_MANUAL_INSTANTIATION 167 #include "itkBinaryThinningImageFilter3D.txx" itkTypeMacro(BinaryThinningImageFilter3D, ImageToImageFilter)
BinaryThinningImageFilter3D Self
RegionType::IndexType IndexType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
virtual ~BinaryThinningImageFilter3D()
ConstantBoundaryCondition< TInputImage > ConstBoundaryConditionType
NeighborhoodIteratorType::NeighborhoodType NeighborhoodType
bool isEulerInvariant(NeighborhoodType neighbors, int *LUT)
BinaryThinningImageFilter3D()
NeighborhoodIterator< TInputImage, ConstBoundaryConditionType > NeighborhoodIteratorType
InputImageType::RegionType RegionType
void fillEulerLUT(int *LUT)
OutputImageType::Pointer OutputImagePointer
TOutputImage OutputImageType
InputImageType::PixelType InputImagePixelType
RegionType::SizeType SizeType
void PrintSelf(std::ostream &os, Indent indent) const
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
void Octree_labeling(int octant, int label, int *cube)
InputImageType::ConstPointer InputImagePointer
OutputImageType * GetThinning(void)
bool isSimplePoint(NeighborhoodType neighbors)
TInputImage InputImageType
This filter computes one-pixel-wide skeleton of a 3D input image.
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
OutputImageType::PixelType OutputImagePixelType