ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage > Class Template Reference

#include <itkBinaryImageToStatisticsLabelMapFilter.h>

Detailed Description

template<typename TInputImage, typename TFeatureImage, typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
class itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >

a convenient class to convert a binary image to a label map and valuate the statistics attributes at once

Author
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.

This implementation was taken from the Insight Journal paper: https://doi.org/10.54294/q6auw4

See also
StatisticsLabelObject, LabelStatisticsOpeningImageFilter, BinaryStatisticsOpeningImageFilter

Definition at line 43 of file itkBinaryImageToStatisticsLabelMapFilter.h.

+ Inheritance diagram for itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >:
+ Collaboration diagram for itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using FeatureImageConstPointer = typename FeatureImageType::ConstPointer
 
using FeatureImagePixelType = typename FeatureImageType::PixelType
 
using FeatureImagePointer = typename FeatureImageType::Pointer
 
using FeatureImageType = TFeatureImage
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using LabelizerType = BinaryImageToLabelMapFilter< InputImageType, OutputImageType >
 
using LabelObjectType = typename OutputImageType::LabelObjectType
 
using LabelObjectValuatorType = StatisticsLabelMapFilter< OutputImageType, FeatureImageType >
 
using OutputImageConstPointer = typename OutputImageType::ConstPointer
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer< Self >
 
using Self = BinaryImageToStatisticsLabelMapFilter
 
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >
 

Public Member Functions

const FeatureImageTypeGetFeatureImage ()
 
const char * GetNameOfClass () const override
 
void SetFeatureImage (const TFeatureImage *input)
 
void SetInput1 (const InputImageType *input)
 
void SetInput2 (const FeatureImageType *input)
 
virtual void SetFullyConnected (bool _arg)
 
virtual const bool & GetFullyConnected () const
 
virtual void FullyConnectedOn ()
 
virtual void SetOutputBackgroundValue (OutputImagePixelType _arg)
 
virtual OutputImagePixelType GetOutputBackgroundValue () const
 
virtual void SetInputForegroundValue (InputImagePixelType _arg)
 
virtual InputImagePixelType GetInputForegroundValue () 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 SetComputeHistogram (bool _arg)
 
virtual const bool & GetComputeHistogram () const
 
virtual void ComputeHistogramOn ()
 
virtual void SetNumberOfBins (unsigned int _arg)
 
virtual const unsigned int & GetNumberOfBins () const
 

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

 BinaryImageToStatisticsLabelMapFilter ()
 
void EnlargeOutputRequestedRegion (DataObject *) override
 
void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~BinaryImageToStatisticsLabelMapFilter () override=default
 

Private Attributes

bool m_ComputeFeretDiameter {}
 
bool m_ComputeHistogram {}
 
bool m_ComputePerimeter {}
 
bool m_FullyConnected {}
 
InputImagePixelType m_InputForegroundValue {}
 
unsigned int m_NumberOfBins {}
 
OutputImagePixelType m_OutputBackgroundValue {}
 

Member Typedef Documentation

◆ ConstPointer

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ConstPointer = SmartPointer<const Self>

Definition at line 52 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ FeatureImageConstPointer

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImageConstPointer = typename FeatureImageType::ConstPointer

Definition at line 70 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ FeatureImagePixelType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImagePixelType = typename FeatureImageType::PixelType

Definition at line 71 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ FeatureImagePointer

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImagePointer = typename FeatureImageType::Pointer

Definition at line 69 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ FeatureImageType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FeatureImageType = TFeatureImage

Definition at line 68 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ InputImageConstPointer

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageConstPointer = typename InputImageType::ConstPointer

Definition at line 57 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ InputImagePixelType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImagePixelType = typename InputImageType::PixelType

Definition at line 59 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ InputImagePointer

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImagePointer = typename InputImageType::Pointer

Definition at line 56 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ InputImageRegionType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageRegionType = typename InputImageType::RegionType

Definition at line 58 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ InputImageType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageType = TInputImage

Some convenient type alias.

Definition at line 55 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ LabelizerType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelizerType = BinaryImageToLabelMapFilter<InputImageType, OutputImageType>

Definition at line 78 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ LabelObjectType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelObjectType = typename OutputImageType::LabelObjectType

Definition at line 66 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ LabelObjectValuatorType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::LabelObjectValuatorType = StatisticsLabelMapFilter<OutputImageType, FeatureImageType>

Definition at line 79 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ OutputImageConstPointer

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageConstPointer = typename OutputImageType::ConstPointer

Definition at line 63 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ OutputImagePixelType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImagePixelType = typename OutputImageType::PixelType

Definition at line 65 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ OutputImagePointer

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImagePointer = typename OutputImageType::Pointer

Definition at line 62 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ OutputImageRegionType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageRegionType = typename OutputImageType::RegionType

Definition at line 64 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ OutputImageType

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageType = TOutputImage

Definition at line 61 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ Pointer

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::Pointer = SmartPointer<Self>

Definition at line 51 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ Self

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::Self = BinaryImageToStatisticsLabelMapFilter

Standard class type aliases.

Definition at line 49 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ Superclass

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
using itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage>

Definition at line 50 of file itkBinaryImageToStatisticsLabelMapFilter.h.

Constructor & Destructor Documentation

◆ BinaryImageToStatisticsLabelMapFilter()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::BinaryImageToStatisticsLabelMapFilter ( )
protected

◆ ~BinaryImageToStatisticsLabelMapFilter()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::~BinaryImageToStatisticsLabelMapFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ ComputeFeretDiameterOn()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ComputeFeretDiameterOn ( )
virtual

Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.

◆ ComputeHistogramOn()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ComputeHistogramOn ( )
virtual

Set/Get whether the histogram should be attached to the label object or not. This option defaults to true, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.

◆ ComputePerimeterOn()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ComputePerimeterOn ( )
virtual

Set/Get whether the perimeter should be computed or not. The default value is false, because of the high computation time required.

◆ EnlargeOutputRequestedRegion()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::EnlargeOutputRequestedRegion ( DataObject )
overrideprotected

BinaryImageToStatisticsLabelMapFilter will produce the entire output.

◆ FullyConnectedOn()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::FullyConnectedOn ( )
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ GenerateData()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GenerateData ( )
overrideprotected

Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.

◆ GenerateInputRequestedRegion()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GenerateInputRequestedRegion ( )
overrideprotected

BinaryImageToStatisticsLabelMapFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().

◆ GetComputeFeretDiameter()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual const bool & itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetComputeFeretDiameter ( ) const
virtual

Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.

◆ GetComputeHistogram()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual const bool & itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetComputeHistogram ( ) const
virtual

Set/Get whether the histogram should be attached to the label object or not. This option defaults to true, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.

◆ GetComputePerimeter()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual const bool & itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetComputePerimeter ( ) const
virtual

Set/Get whether the perimeter should be computed or not. The default value is false, because of the high computation time required.

◆ GetFeatureImage()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
const FeatureImageType * itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetFeatureImage ( )
inline

Get the feature image

Definition at line 150 of file itkBinaryImageToStatisticsLabelMapFilter.h.

References itk::ProcessObject::GetInput().

◆ GetFullyConnected()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual const bool & itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetFullyConnected ( ) const
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ GetInputForegroundValue()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual InputImagePixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetInputForegroundValue ( ) const
virtual

Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().

◆ GetNameOfClass()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
const char * itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetNameOfClass ( ) const
override

◆ GetNumberOfBins()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual const unsigned int & itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetNumberOfBins ( ) const
virtual

Set/Get the number of bins in the histogram. Note that the histogram is used to compute the median value, and that this option may have an effect on the value of the median.

◆ GetOutputBackgroundValue()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual OutputImagePixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::GetOutputBackgroundValue ( ) const
virtual

Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().

◆ New()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
static Pointer itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::New ( )
static

Standard New method.

◆ PrintSelf()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected

◆ SetComputeFeretDiameter()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetComputeFeretDiameter ( bool  _arg)
virtual

Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.

◆ SetComputeHistogram()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetComputeHistogram ( bool  _arg)
virtual

Set/Get whether the histogram should be attached to the label object or not. This option defaults to true, but because the histogram may take a lot of memory compared to the other attributes, this option is useful to reduce the memory usage when the histogram is not required.

◆ SetComputePerimeter()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetComputePerimeter ( bool  _arg)
virtual

Set/Get whether the perimeter should be computed or not. The default value is false, because of the high computation time required.

◆ SetFeatureImage()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetFeatureImage ( const TFeatureImage *  input)
inline

Set the feature image

Definition at line 142 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ SetFullyConnected()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetFullyConnected ( bool  _arg)
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ SetInput1()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetInput1 ( const InputImageType input)
inline

Set the input image

Definition at line 157 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ SetInput2()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetInput2 ( const FeatureImageType input)
inline

Set the feature image

Definition at line 164 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ SetInputForegroundValue()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetInputForegroundValue ( InputImagePixelType  _arg)
virtual

Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().

◆ SetNumberOfBins()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetNumberOfBins ( unsigned int  _arg)
virtual

Set/Get the number of bins in the histogram. Note that the histogram is used to compute the median value, and that this option may have an effect on the value of the median.

◆ SetOutputBackgroundValue()

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
virtual void itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::SetOutputBackgroundValue ( OutputImagePixelType  _arg)
virtual

Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().

Member Data Documentation

◆ ImageDimension

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
constexpr unsigned int itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension
staticconstexpr

Definition at line 76 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ InputImageDimension

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
constexpr unsigned int itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension
staticconstexpr

ImageDimension constants

Definition at line 74 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ m_ComputeFeretDiameter

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
bool itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_ComputeFeretDiameter {}
private

Definition at line 214 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ m_ComputeHistogram

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
bool itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_ComputeHistogram {}
private

Definition at line 217 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ m_ComputePerimeter

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
bool itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_ComputePerimeter {}
private

Definition at line 215 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ m_FullyConnected

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
bool itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_FullyConnected {}
private

Definition at line 211 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ m_InputForegroundValue

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
InputImagePixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_InputForegroundValue {}
private

Definition at line 213 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ m_NumberOfBins

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
unsigned int itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_NumberOfBins {}
private

Definition at line 216 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ m_OutputBackgroundValue

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
OutputImagePixelType itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::m_OutputBackgroundValue {}
private

Definition at line 212 of file itkBinaryImageToStatisticsLabelMapFilter.h.

◆ OutputImageDimension

template<typename TInputImage , typename TFeatureImage , typename TOutputImage = LabelMap<StatisticsLabelObject<SizeValueType, TInputImage::ImageDimension>>>
constexpr unsigned int itk::BinaryImageToStatisticsLabelMapFilter< TInputImage, TFeatureImage, TOutputImage >::OutputImageDimension = TInputImage::ImageDimension
staticconstexpr

Definition at line 75 of file itkBinaryImageToStatisticsLabelMapFilter.h.


The documentation for this class was generated from the following file: