ITK
5.2.0
Insight Toolkit
|
#include <itkShapeRelabelLabelMapFilter.h>
Public Types | |
using | AttributeType = typename LabelObjectType::AttributeType |
using | ConstPointer = SmartPointer< const Self > |
using | ImageConstPointer = typename ImageType::ConstPointer |
using | ImagePointer = typename ImageType::Pointer |
using | ImageType = TImage |
using | IndexType = typename ImageType::IndexType |
using | LabelObjectType = typename ImageType::LabelObjectType |
using | PixelType = typename ImageType::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = ShapeRelabelLabelMapFilter |
using | Superclass = InPlaceLabelMapFilter< TImage > |
Public Types inherited from itk::InPlaceLabelMapFilter< TImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | IndexType = typename InputImageType::IndexType |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TImage |
using | LabelObjectType = typename InputImageType::LabelObjectType |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | PixelType = typename InputImageType::PixelType |
using | Pointer = SmartPointer< Self > |
using | RegionType = typename InputImageType::RegionType |
using | Self = InPlaceLabelMapFilter |
using | Superclass = LabelMapFilter< TImage, TImage > |
using | TOutputImage = TImage |
Public Types inherited from itk::LabelMapFilter< TImage, TImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename Superclass::InputImageConstPointer |
using | InputImagePixelType = typename Superclass::InputImagePixelType |
using | InputImagePointer = typename Superclass::InputImagePointer |
using | InputImageRegionType = typename Superclass::InputImageRegionType |
using | InputImageType = typename Superclass::InputImageType |
using | LabelObjectType = typename InputImageType::LabelObjectType |
using | OutputImageConstPointer = typename OutputImageType::ConstPointer |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TImage |
using | Pointer = SmartPointer< Self > |
using | Self = LabelMapFilter |
using | Superclass = ImageToImageFilter< TImage, TImage > |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TImage > |
Public Types inherited from itk::ImageSource< TImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::InPlaceLabelMapFilter< TImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LabelMapFilter< TImage, TImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TImage, TImage > | |
static void | SetGlobalDefaultDirectionTolerance (double) |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static double | GetGlobalDefaultCoordinateTolerance () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
Static Public Attributes inherited from itk::InPlaceLabelMapFilter< TImage > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::LabelMapFilter< TImage, TImage > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage > | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TImage > | |
static constexpr unsigned int | OutputImageDimension |
bool | m_ReverseOrdering |
AttributeType | m_Attribute |
virtual void | SetReverseOrdering (bool _arg) |
virtual const bool & | GetReverseOrdering () const |
virtual void | ReverseOrderingOn () |
virtual void | ReverseOrderingOff () |
virtual AttributeType | GetAttribute () const |
virtual void | SetAttribute (AttributeType _arg) |
void | SetAttribute (const std::string &s) |
ShapeRelabelLabelMapFilter () | |
~ShapeRelabelLabelMapFilter () override=default | |
void | GenerateData () override |
template<typename TAttributeAccessor > | |
void | TemplatedGenerateData (const TAttributeAccessor &) |
void | PrintSelf (std::ostream &os, Indent indent) const override |
Relabels objects according to their shape attributes.
The ShapeRelabelImageFilter relabels a label collection image according to the shape attributes of the objects. The label produced are always consecutives.
This implementation was taken from the Insight Journal paper: https://www.insight-journal.org/browse/publication/176
Definition at line 45 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::AttributeType = typename LabelObjectType::AttributeType |
Definition at line 64 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 54 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::ImageConstPointer = typename ImageType::ConstPointer |
Definition at line 59 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::ImagePointer = typename ImageType::Pointer |
Definition at line 58 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::ImageType = TImage |
Some convenient type alias.
Definition at line 57 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::IndexType = typename ImageType::IndexType |
Definition at line 61 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::LabelObjectType = typename ImageType::LabelObjectType |
Definition at line 62 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::PixelType = typename ImageType::PixelType |
Definition at line 60 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::Pointer = SmartPointer<Self> |
Definition at line 53 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::Self = ShapeRelabelLabelMapFilter |
Standard class type aliases.
Definition at line 51 of file itkShapeRelabelLabelMapFilter.h.
using itk::ShapeRelabelLabelMapFilter< TImage >::Superclass = InPlaceLabelMapFilter<TImage> |
Definition at line 52 of file itkShapeRelabelLabelMapFilter.h.
|
protected |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
|
overrideprotecteddefault |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
Reimplemented in itk::StatisticsRelabelLabelMapFilter< TImage >.
|
overrideprotectedvirtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
Reimplemented from itk::ProcessObject.
Reimplemented in itk::StatisticsRelabelLabelMapFilter< TImage >.
|
virtual |
Set/Get the attribute to use. Default is "Size".
|
virtual |
Runtime information support.
Reimplemented from itk::InPlaceLabelMapFilter< TImage >.
Reimplemented in itk::StatisticsRelabelLabelMapFilter< TImage >.
|
virtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
|
static |
Standard New method.
|
overrideprotectedvirtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
Reimplemented from itk::ProcessObject.
|
virtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
|
virtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
|
virtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
|
inline |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
Definition at line 103 of file itkShapeRelabelLabelMapFilter.h.
|
virtual |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
|
inlineprotected |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
Definition at line 118 of file itkShapeRelabelLabelMapFilter.h.
References itk::NumericTraits< T >::ZeroValue().
|
staticconstexpr |
ImageDimension constants
Definition at line 67 of file itkShapeRelabelLabelMapFilter.h.
|
protected |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
Definition at line 181 of file itkShapeRelabelLabelMapFilter.h.
|
protected |
Set/Get the order of labeling of the objects. By default, the objects with the highest attribute values are labeled first. Setting ReverseOrdering to true causes the object with the smallest attributes to be labeled first.
Definition at line 179 of file itkShapeRelabelLabelMapFilter.h.