18 #ifndef itkRelabelComponentImageFilter_h 19 #define itkRelabelComponentImageFilter_h 80 template<
typename TInputImage,
typename TOutputImage >
105 TOutputImage::ImageDimension);
107 TInputImage::ImageDimension);
143 itkGetConstMacro(NumberOfObjects, LabelType);
153 itkGetConstMacro(OriginalNumberOfObjects, LabelType);
157 itkSetMacro(NumberOfObjectsToPrint, LabelType);
158 itkGetConstReferenceMacro(NumberOfObjectsToPrint, LabelType);
167 itkSetMacro(MinimumObjectSize, ObjectSizeType);
174 itkGetConstMacro(MinimumObjectSize, ObjectSizeType);
178 itkSetMacro(SortByObjectSize,
bool);
179 itkGetConstMacro(SortByObjectSize,
bool);
180 itkBooleanMacro(SortByObjectSize);
239 #ifdef ITK_USE_CONCEPT_CHECKING 312 void operator=(
const Self &) ITK_DELETE_FUNCTION;
325 #ifndef ITK_MANUAL_INSTANTIATION 326 #include "itkRelabelComponentImageFilter.hxx" const ObjectSizeInPixelsContainerType & GetSizeOfObjectsInPixels() const
Superclass::InputImagePointer InputImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
ObjectSizeInPhysicalUnitsContainerType m_SizeOfObjectsInPhysicalUnits
ObjectSizeType m_SizeInPixels
std::vector< ObjectSizeType > ObjectSizeInPixelsContainerType
virtual void InPlaceOff()
void operator=(const Self &) ITK_DELETE_FUNCTION
void GenerateInputRequestedRegion() override
TInputImage::PixelType InputPixelType
RelabelComponentImageFilter()
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TOutputImage::RegionType RegionType
TOutputImage OutputImageType
unsigned long SizeValueType
static const unsigned int InputImageDimension
TOutputImage::PixelType OutputPixelType
void GenerateData() override
float m_SizeInPhysicalUnits
RelabelComponentImageFilter Self
LabelType m_NumberOfObjects
SizeValueType IdentifierType
SmartPointer< Self > Pointer
bool operator()(const RelabelComponentObjectType &a, const RelabelComponentObjectType &b)
ObjectSizeType GetSizeOfObjectInPixels(LabelType obj) const
TInputImage::IndexType IndexType
TInputImage::SizeType SizeType
ObjectSizeType m_MinimumObjectSize
float GetSizeOfObjectInPhysicalUnits(LabelType obj) const
InputImageType::Pointer InputImagePointer
Relabel the components in an image such that consecutive labels are used.
const ObjectSizeInPhysicalUnitsContainerType & GetSizeOfObjectsInPhysicalUnits() const
TInputImage InputImageType
Base class for filters that take an image as input and produce an image as output.
LabelType m_NumberOfObjectsToPrint
Control indentation during Print() invocation.
static const unsigned int ImageDimension
TInputImage::InternalPixelType InputInternalPixelType
Base class for filters that take an image as input and overwrite that image as the output...
#define itkConceptMacro(name, concept)
virtual ~RelabelComponentImageFilter()
std::vector< float > ObjectSizeInPhysicalUnitsContainerType
SmartPointer< const Self > ConstPointer
LabelType m_OriginalNumberOfObjects
TOutputImage::InternalPixelType OutputInternalPixelType
ObjectSizeInPixelsContainerType m_SizeOfObjectsInPixels
InPlaceImageFilter< TInputImage, TOutputImage > Superclass
SizeValueType ObjectSizeType