ITK
6.0.0
Insight Toolkit
|
#include <itkLabelImageToShapeLabelMapFilter.h>
Converts a label image to a label map and valuates the shape attributes.
A convenient class that converts a label image to a label map and valuates the shape attribute at once.
This implementation was taken from the Insight Journal paper: https://doi.org/10.54294/q6auw4
Definition at line 49 of file itkLabelImageToShapeLabelMapFilter.h.
Public Member Functions | |
const char * | GetNameOfClass () const override |
virtual void | SetBackgroundValue (OutputImagePixelType _arg) |
virtual OutputImagePixelType | GetBackgroundValue () const |
virtual void | SetComputeFeretDiameter (bool _arg) |
virtual const bool & | GetComputeFeretDiameter () const |
virtual void | ComputeFeretDiameterOn () |
virtual void | SetComputePerimeter (bool _arg) |
virtual const bool & | GetComputePerimeter () const |
virtual void | ComputePerimeterOn () |
virtual void | SetComputeOrientedBoundingBox (bool _arg) |
virtual const bool & | GetComputeOrientedBoundingBox () const |
virtual void | ComputeOrientedBoundingBoxOn () |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TInputImage::ImageDimension |
Protected Member Functions | |
void | EnlargeOutputRequestedRegion (DataObject *) override |
void | GenerateData () override |
void | GenerateInputRequestedRegion () override |
LabelImageToShapeLabelMapFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~LabelImageToShapeLabelMapFilter () override=default | |
Private Attributes | |
OutputImagePixelType | m_BackgroundValue {} |
bool | m_ComputeFeretDiameter {} |
bool | m_ComputeOrientedBoundingBox {} |
bool | m_ComputePerimeter {} |
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 58 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 63 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType |
Definition at line 65 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 62 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 64 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Some convenient type alias.
Definition at line 61 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::LabelizerType = LabelImageToLabelMapFilter<InputImageType, OutputImageType> |
Definition at line 79 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::LabelObjectType = typename OutputImageType::LabelObjectType |
Definition at line 72 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::LabelObjectValuatorType = ShapeLabelMapFilter<TOutputImage, ShapeLabelFilterOutput> |
Definition at line 81 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::OutputImageConstPointer = typename OutputImageType::ConstPointer |
Definition at line 69 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Definition at line 71 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 68 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 70 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 67 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 57 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::Self = LabelImageToShapeLabelMapFilter |
Standard class type aliases.
Definition at line 55 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::ShapeLabelFilterOutput = Image<typename OutputImageType::PixelType, Self::OutputImageDimension> |
Definition at line 80 of file itkLabelImageToShapeLabelMapFilter.h.
using itk::LabelImageToShapeLabelMapFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 56 of file itkLabelImageToShapeLabelMapFilter.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. Default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the oriented bounding box should be computed or not. Default value is false because of potential memory consumption issues with sparse labels.
|
virtual |
Set/Get whether the perimeter should be computed or not. Default value is false, because of the high computation time required.
|
overrideprotected |
LabelImageToShapeLabelMapFilter will produce the entire output.
|
overrideprotected |
Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.
|
overrideprotected |
LabelImageToShapeLabelMapFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. Default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the oriented bounding box should be computed or not. Default value is false because of potential memory consumption issues with sparse labels.
|
virtual |
Set/Get whether the perimeter should be computed or not. Default value is false, because of the high computation time required.
|
override |
|
static |
Standard New method.
|
overrideprotected |
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. Default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the oriented bounding box should be computed or not. Default value is false because of potential memory consumption issues with sparse labels.
|
virtual |
Set/Get whether the perimeter should be computed or not. Default value is false, because of the high computation time required.
|
staticconstexpr |
Definition at line 77 of file itkLabelImageToShapeLabelMapFilter.h.
|
staticconstexpr |
ImageDimension constants
Definition at line 75 of file itkLabelImageToShapeLabelMapFilter.h.
|
private |
Definition at line 155 of file itkLabelImageToShapeLabelMapFilter.h.
|
private |
Definition at line 156 of file itkLabelImageToShapeLabelMapFilter.h.
|
private |
Definition at line 158 of file itkLabelImageToShapeLabelMapFilter.h.
|
private |
Definition at line 157 of file itkLabelImageToShapeLabelMapFilter.h.
|
staticconstexpr |
Definition at line 76 of file itkLabelImageToShapeLabelMapFilter.h.