18 #ifndef itkRelabelComponentImageFilter_h
19 #define itkRelabelComponentImageFilter_h
80 template<
typename TInputImage,
typename TOutputImage >
105 TOutputImage::ImageDimension);
107 TInputImage::ImageDimension);
153 itkGetConstMacro(OriginalNumberOfObjects,
LabelType);
157 itkSetMacro(NumberOfObjectsToPrint,
LabelType);
158 itkGetConstReferenceMacro(NumberOfObjectsToPrint,
LabelType);
178 itkSetMacro(SortByObjectSize,
bool);
179 itkGetConstMacro(SortByObjectSize,
bool);
180 itkBooleanMacro(SortByObjectSize);
239 #ifdef ITK_USE_CONCEPT_CHECKING
325 #ifndef ITK_MANUAL_INSTANTIATION
326 #include "itkRelabelComponentImageFilter.hxx"
const ObjectSizeInPixelsContainerType & GetSizeOfObjectsInPixels() const
Superclass::InputImagePointer InputImagePointer
ObjectSizeInPhysicalUnitsContainerType m_SizeOfObjectsInPhysicalUnits
ObjectSizeType m_SizeInPixels
std::vector< ObjectSizeType > ObjectSizeInPixelsContainerType
virtual void InPlaceOff()
void GenerateInputRequestedRegion() override
TInputImage::PixelType InputPixelType
void operator=(const Self &)
RelabelComponentImageFilter()
TOutputImage::RegionType RegionType
TOutputImage OutputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for all process objects that output image data.
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