18 #ifndef __itkPSMCleanAndCenterLabelMapImageFilter_h 19 #define __itkPSMCleanAndCenterLabelMapImageFilter_h 21 #include "itkImageToImageFilter.h" 62 template<
class TImage>
64 public ImageToImageFilter<TImage, TImage>
69 typedef ImageToImageFilter< TImage, TImage > Superclass;
70 typedef SmartPointer< Self > Pointer;
71 typedef SmartPointer< const Self > ConstPointer;
75 typedef typename ImageType::PixelType PixelType;
76 typedef typename ImageType::PointType PointType;
77 typedef typename ImageType::RegionType RegionType;
78 typedef typename RegionType::SizeType SizeType;
79 typedef typename RegionType::IndexType IndexType;
88 itkStaticConstMacro(Dimension,
unsigned int, TImage::ImageDimension);
97 itkSetMacro(ForegroundValue,PixelType);
98 itkGetMacro(ForegroundValue,PixelType);
103 itkSetMacro(BackgroundValue,PixelType);
104 itkGetMacro(BackgroundValue,PixelType);
109 void PrintSelf(std::ostream & os, Indent indent)
const;
114 void IsolateLargestComponent(ImageType *)
const;
117 void FillHoles(ImageType *)
const;
128 void Center(ImageType *);
135 virtual void GenerateOutputInformation();
141 virtual void GenerateInputRequestedRegion();
146 void operator=(
const Self &);
148 PixelType m_ForegroundValue;
149 PixelType m_BackgroundValue;
153 #ifndef ITK_MANUAL_INSTANTIATION 154 #include "itkPSMCleanAndCenterLabelMapImageFilter.hxx" Process an input segmentation to produce an isotropically spaced version with holes filled and center...
PSMCleanAndCenterLabelMapImageFilter Self
void ResampleToIsotropic(ImageType *) const