18 #ifndef __itkRelabelComponentImageFilter_h
19 #define __itkRelabelComponentImageFilter_h
78 template<
class TInputImage,
class TOutputImage >
102 itkStaticConstMacro(ImageDimension,
unsigned int,
103 TOutputImage::ImageDimension);
104 itkStaticConstMacro(InputImageDimension,
unsigned int,
105 TInputImage::ImageDimension);
151 itkGetConstMacro(OriginalNumberOfObjects,
LabelType);
155 itkSetMacro(NumberOfObjectsToPrint,
LabelType);
156 itkGetConstReferenceMacro(NumberOfObjectsToPrint,
LabelType);
183 return this->m_SizeOfObjectsInPixels;
195 return this->m_SizeOfObjectsInPhysicalUnits;
203 if ( obj > 0 && obj <= m_NumberOfObjects )
205 return m_SizeOfObjectsInPixels[obj - 1];
217 float GetSizeOfObjectInPhysicalUnits(
LabelType obj)
const
219 if ( obj > 0 && obj <= m_NumberOfObjects )
221 return m_SizeOfObjectsInPhysicalUnits[obj - 1];
230 #ifdef ITK_USE_CONCEPT_CHECKING
249 m_NumberOfObjects(0), m_NumberOfObjectsToPrint(10),
250 m_OriginalNumberOfObjects(0), m_MinimumObjectSize(0)
251 { this->InPlaceOff(); }
262 void GenerateInputRequestedRegion();
265 void PrintSelf(std::ostream & os,
Indent indent)
const;
303 void operator=(
const Self &);
315 #ifndef ITK_MANUAL_INSTANTIATION
316 #include "itkRelabelComponentImageFilter.hxx"