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
248 m_NumberOfObjects(0), m_NumberOfObjectsToPrint(10),
249 m_OriginalNumberOfObjects(0), m_MinimumObjectSize(0)
250 { this->InPlaceOff(); }
261 void GenerateInputRequestedRegion();
264 void PrintSelf(std::ostream & os,
Indent indent)
const;
301 void operator=(
const Self &);
313 #ifndef ITK_MANUAL_INSTANTIATION
314 #include "itkRelabelComponentImageFilter.hxx"