SimpleITK  
itk::simple::LabelIntensityStatisticsImageFilter Class Reference

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

#include <sitkLabelIntensityStatisticsImageFilter.h>

+ Inheritance diagram for itk::simple::LabelIntensityStatisticsImageFilter:
+ Collaboration diagram for itk::simple::LabelIntensityStatisticsImageFilter:

Detailed Description

a convenient class to convert a label 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 , LabelStatisticsOpeningImageFilter
itk::LabelImageToStatisticsLabelMapFilter for the Doxygen on the original ITK class.

Definition at line 47 of file sitkLabelIntensityStatisticsImageFilter.h.

Public Types

using PixelIDTypeList = IntegerPixelIDTypeList
 
using Self = LabelIntensityStatisticsImageFilter
 
- Public Types inherited from itk::simple::ImageFilter
using Self = ImageFilter
 
- Public Types inherited from itk::simple::ProcessObject
using Self = ProcessObject
 

Public Member Functions

SelfComputeFeretDiameterOff ()
 
SelfComputeFeretDiameterOn ()
 
SelfComputePerimeterOff ()
 
SelfComputePerimeterOn ()
 
void Execute (const Image &image, const Image &featureImage)
 
double GetBackgroundValue () const
 
std::vector< unsigned int > GetBoundingBox (int64_t label) const
 
std::vector< double > GetCenterOfGravity (int64_t label) const
 
std::vector< double > GetCentroid (int64_t label) const
 
bool GetComputeFeretDiameter () const
 
bool GetComputePerimeter () const
 
double GetElongation (int64_t label) const
 
std::vector< double > GetEquivalentEllipsoidDiameter (int64_t label) const
 
double GetEquivalentSphericalPerimeter (int64_t label) const
 
double GetEquivalentSphericalRadius (int64_t label) const
 
double GetFeretDiameter (int64_t label) const
 
double GetFlatness (int64_t label) const
 
double GetKurtosis (int64_t label) const
 
std::vector< int64_t > GetLabels () const
 
double GetMaximum (int64_t label) const
 
std::vector< uint32_t > GetMaximumIndex (int64_t label) const
 
double GetMean (int64_t label) const
 
double GetMedian (int64_t label) const
 
double GetMinimum (int64_t label) const
 
std::vector< uint32_t > GetMinimumIndex (int64_t label) const
 
std::string GetName () const
 
uint32_t GetNumberOfBins () const
 
uint64_t GetNumberOfLabels ()
 
uint64_t GetNumberOfPixels (int64_t label) const
 
uint64_t GetNumberOfPixelsOnBorder (int64_t label) const
 
double GetPerimeter (int64_t label) const
 
double GetPerimeterOnBorder (int64_t label) const
 
double GetPerimeterOnBorderRatio (int64_t label) const
 
double GetPhysicalSize (int64_t label) const
 
std::vector< double > GetPrincipalAxes (int64_t label) const
 
std::vector< double > GetPrincipalMoments (int64_t label) const
 
std::vector< unsigned int > GetRegion (int64_t label) const
 
double GetRoundness (int64_t label) const
 
double GetSkewness (int64_t label) const
 
double GetStandardDeviation (int64_t label) const
 
double GetSum (int64_t label) const
 
double GetVariance (int64_t label) const
 
double GetWeightedElongation (int64_t label) const
 
double GetWeightedFlatness (int64_t label) const
 
std::vector< double > GetWeightedPrincipalAxes (int64_t label) const
 
std::vector< double > GetWeightedPrincipalMoments (int64_t label) const
 
bool HasLabel (int64_t label)
 
 LabelIntensityStatisticsImageFilter ()
 
SelfSetBackgroundValue (double BackgroundValue)
 
SelfSetComputeFeretDiameter (bool ComputeFeretDiameter)
 
SelfSetComputePerimeter (bool ComputePerimeter)
 
SelfSetNumberOfBins (uint32_t NumberOfBins)
 
std::string ToString () const
 
virtual ~LabelIntensityStatisticsImageFilter ()
 
- Public Member Functions inherited from itk::simple::ImageFilter
 ImageFilter ()
 
virtual ~ImageFilter ()=0
 
- Public Member Functions inherited from itk::simple::ProcessObject
virtual void Abort ()
 
virtual int AddCommand (itk::simple::EventEnum event, const std::function< void()> &func)
 Directly add a callback to observe an event.
 
virtual int AddCommand (itk::simple::EventEnum event, itk::simple::Command &cmd)
 Add a Command Object to observer the event.
 
virtual float GetProgress () const
 An Active Measurement of the progress of execution.
 
virtual bool HasCommand (itk::simple::EventEnum event) const
 Query of this object has any registered commands for event.
 
 ProcessObject ()
 
virtual void RemoveAllCommands ()
 Remove all registered commands.
 
virtual ~ProcessObject ()
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
virtual bool GetDebug () const
 
virtual void SetDebug (bool debugFlag)
 
virtual void SetNumberOfThreads (unsigned int n)
 
virtual unsigned int GetNumberOfThreads () const
 
virtual void SetNumberOfWorkUnits (unsigned int n)
 
virtual unsigned int GetNumberOfWorkUnits () const
 

Private Types

using MemberFunctionType = void (Self::*)( const Image * image, const Image * featureImage )
 

Private Member Functions

template<class TImageType1, class TImageType2>
void DualExecuteInternal (const Image *image, const Image *featureImage)
 

Private Attributes

double m_BackgroundValue {0}
 
bool m_ComputeFeretDiameter {false}
 
bool m_ComputePerimeter {true}
 
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
 
itk::ProcessObjectm_Filter {nullptr}
 
std::vector< int64_t > m_Labels {std::vector<int64_t>()}
 
uint32_t m_NumberOfBins {128u}
 
std::function< std::vector< unsigned int >(int64_t)> m_pfGetBoundingBox
 
std::function< std::vector< double >(int64_t)> m_pfGetCenterOfGravity
 
std::function< std::vector< double >(int64_t)> m_pfGetCentroid
 
std::function< double(int64_t)> m_pfGetElongation
 
std::function< std::vector< double >(int64_t)> m_pfGetEquivalentEllipsoidDiameter
 
std::function< double(int64_t)> m_pfGetEquivalentSphericalPerimeter
 
std::function< double(int64_t)> m_pfGetEquivalentSphericalRadius
 
std::function< double(int64_t)> m_pfGetFeretDiameter
 
std::function< double(int64_t)> m_pfGetFlatness
 
std::function< double(int64_t)> m_pfGetKurtosis
 
std::function< double(int64_t)> m_pfGetMaximum
 
std::function< std::vector< uint32_t >(int64_t)> m_pfGetMaximumIndex
 
std::function< double(int64_t)> m_pfGetMean
 
std::function< double(int64_t)> m_pfGetMedian
 
std::function< double(int64_t)> m_pfGetMinimum
 
std::function< std::vector< uint32_t >(int64_t)> m_pfGetMinimumIndex
 
std::function< uint64_t(int64_t)> m_pfGetNumberOfPixels
 
std::function< uint64_t(int64_t)> m_pfGetNumberOfPixelsOnBorder
 
std::function< double(int64_t)> m_pfGetPerimeter
 
std::function< double(int64_t)> m_pfGetPerimeterOnBorder
 
std::function< double(int64_t)> m_pfGetPerimeterOnBorderRatio
 
std::function< double(int64_t)> m_pfGetPhysicalSize
 
std::function< std::vector< double >(int64_t)> m_pfGetPrincipalAxes
 
std::function< std::vector< double >(int64_t)> m_pfGetPrincipalMoments
 
std::function< std::vector< unsigned int >(int64_t)> m_pfGetRegion
 
std::function< double(int64_t)> m_pfGetRoundness
 
std::function< double(int64_t)> m_pfGetSkewness
 
std::function< double(int64_t)> m_pfGetStandardDeviation
 
std::function< double(int64_t)> m_pfGetSum
 
std::function< double(int64_t)> m_pfGetVariance
 
std::function< double(int64_t)> m_pfGetWeightedElongation
 
std::function< double(int64_t)> m_pfGetWeightedFlatness
 
std::function< std::vector< double >(int64_t)> m_pfGetWeightedPrincipalAxes
 
std::function< std::vector< double >(int64_t)> m_pfGetWeightedPrincipalMoments
 

Friends

struct detail::DualExecuteInternalAddressor< MemberFunctionType >
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::simple::ProcessObject
static bool GetGlobalDefaultDebug ()
 
static void GlobalDefaultDebugOff ()
 
static void GlobalDefaultDebugOn ()
 
static void SetGlobalDefaultDebug (bool debugFlag)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static void SetGlobalWarningDisplay (bool flag)
 
static bool GetGlobalWarningDisplay ()
 
static double GetGlobalDefaultCoordinateTolerance ()
 Access the global tolerance to determine congruent spaces.
 
static void SetGlobalDefaultCoordinateTolerance (double)
 Access the global tolerance to determine congruent spaces.
 
static double GetGlobalDefaultDirectionTolerance ()
 Access the global tolerance to determine congruent spaces.
 
static void SetGlobalDefaultDirectionTolerance (double)
 Access the global tolerance to determine congruent spaces.
 
static bool SetGlobalDefaultThreader (const std::string &threader)
 Set/Get the default threader used for process objects.
 
static std::string GetGlobalDefaultThreader ()
 Set/Get the default threader used for process objects.
 
static void SetGlobalDefaultNumberOfThreads (unsigned int n)
 
static unsigned int GetGlobalDefaultNumberOfThreads ()
 Set/Get the default threader used for process objects.
 
- Protected Member Functions inherited from itk::simple::ImageFilter
void CheckImageMatchingDimension (const Image &image1, const Image &image2, const std::string &image2Name)
 
void CheckImageMatchingPixelType (const Image &image1, const Image &image2, const std::string &image2Name)
 
void CheckImageMatchingSize (const Image &image1, const Image &image2, const std::string &image2Name)
 
- Protected Member Functions inherited from itk::simple::ProcessObject
virtual unsigned long AddITKObserver (const itk::EventObject &, itk::Command *)
 
virtual itk::ProcessObjectGetActiveProcess ()
 
virtual void OnActiveProcessDelete ()
 
virtual void onCommandDelete (const itk::simple::Command *cmd) noexcept
 
virtual void PreUpdate (itk::ProcessObject *p)
 
virtual void RemoveITKObserver (EventCommand &e)
 
- Protected Member Functions inherited from itk::simple::NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 
- Static Protected Member Functions inherited from itk::simple::ImageFilter
template<class TImageType>
static void FixNonZeroIndex (TImageType *img)
 
- Static Protected Member Functions inherited from itk::simple::ProcessObject
template<class TImageType>
static TImageType::ConstPointer CastImageToITK (const Image &img)
 
template<class TPixelType, unsigned int VImageDimension, unsigned int VLength, template< typename, unsigned int > class TVector>
static Image CastITKToImage (itk::Image< TVector< TPixelType, VLength >, VImageDimension > *img)
 
template<unsigned int VImageDimension, unsigned int VLength, template< unsigned int > class TVector>
static Image CastITKToImage (itk::Image< TVector< VLength >, VImageDimension > *img)
 
template<class TImageType>
static Image CastITKToImage (TImageType *img)
 
static const itk::EventObjectGetITKEventObject (EventEnum e)
 
template<typename T>
static std::ostream & ToStringHelper (std::ostream &os, const T &v)
 
static std::ostream & ToStringHelper (std::ostream &os, const char &v)
 
static std::ostream & ToStringHelper (std::ostream &os, const signed char &v)
 
static std::ostream & ToStringHelper (std::ostream &os, const unsigned char &v)
 

Member Typedef Documentation

◆ MemberFunctionType

using itk::simple::LabelIntensityStatisticsImageFilter::MemberFunctionType = void (Self::*)( const Image * image, const Image * featureImage )
private

Setup for member function dispatching

Definition at line 446 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ PixelIDTypeList

Define the pixels types supported by this filter

Definition at line 59 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ Self

Constructor & Destructor Documentation

◆ ~LabelIntensityStatisticsImageFilter()

virtual itk::simple::LabelIntensityStatisticsImageFilter::~LabelIntensityStatisticsImageFilter ( )
virtual

Destructor

◆ LabelIntensityStatisticsImageFilter()

itk::simple::LabelIntensityStatisticsImageFilter::LabelIntensityStatisticsImageFilter ( )

Default Constructor that takes no arguments and initializes default parameters

Member Function Documentation

◆ ComputeFeretDiameterOff()

Self & itk::simple::LabelIntensityStatisticsImageFilter::ComputeFeretDiameterOff ( )
inline

◆ ComputeFeretDiameterOn()

Self & itk::simple::LabelIntensityStatisticsImageFilter::ComputeFeretDiameterOn ( )
inline

Set the value of ComputeFeretDiameter to true or false respectfully.

Definition at line 79 of file sitkLabelIntensityStatisticsImageFilter.h.

References SetComputeFeretDiameter().

◆ ComputePerimeterOff()

Self & itk::simple::LabelIntensityStatisticsImageFilter::ComputePerimeterOff ( )
inline

Definition at line 94 of file sitkLabelIntensityStatisticsImageFilter.h.

References SetComputePerimeter().

◆ ComputePerimeterOn()

Self & itk::simple::LabelIntensityStatisticsImageFilter::ComputePerimeterOn ( )
inline

Set the value of ComputePerimeter to true or false respectfully.

Definition at line 93 of file sitkLabelIntensityStatisticsImageFilter.h.

References SetComputePerimeter().

◆ DualExecuteInternal()

template<class TImageType1, class TImageType2>
void itk::simple::LabelIntensityStatisticsImageFilter::DualExecuteInternal ( const Image * image,
const Image * featureImage )
private

◆ Execute()

void itk::simple::LabelIntensityStatisticsImageFilter::Execute ( const Image & image,
const Image & featureImage )

Execute the filter on the input image

◆ GetBackgroundValue()

double itk::simple::LabelIntensityStatisticsImageFilter::GetBackgroundValue ( ) const
inline

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

Definition at line 71 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_BackgroundValue.

◆ GetBoundingBox()

std::vector< unsigned int > itk::simple::LabelIntensityStatisticsImageFilter::GetBoundingBox ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 117 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetBoundingBox.

◆ GetCenterOfGravity()

std::vector< double > itk::simple::LabelIntensityStatisticsImageFilter::GetCenterOfGravity ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 287 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetCenterOfGravity.

◆ GetCentroid()

std::vector< double > itk::simple::LabelIntensityStatisticsImageFilter::GetCentroid ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 135 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetCentroid.

◆ GetComputeFeretDiameter()

bool itk::simple::LabelIntensityStatisticsImageFilter::GetComputeFeretDiameter ( ) const
inline

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

Definition at line 85 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_ComputeFeretDiameter.

◆ GetComputePerimeter()

bool itk::simple::LabelIntensityStatisticsImageFilter::GetComputePerimeter ( ) const
inline

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

Definition at line 99 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_ComputePerimeter.

◆ GetElongation()

double itk::simple::LabelIntensityStatisticsImageFilter::GetElongation ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 144 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetElongation.

◆ GetEquivalentEllipsoidDiameter()

std::vector< double > itk::simple::LabelIntensityStatisticsImageFilter::GetEquivalentEllipsoidDiameter ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 153 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetEquivalentEllipsoidDiameter.

◆ GetEquivalentSphericalPerimeter()

double itk::simple::LabelIntensityStatisticsImageFilter::GetEquivalentSphericalPerimeter ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 162 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetEquivalentSphericalPerimeter.

◆ GetEquivalentSphericalRadius()

double itk::simple::LabelIntensityStatisticsImageFilter::GetEquivalentSphericalRadius ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 171 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetEquivalentSphericalRadius.

◆ GetFeretDiameter()

double itk::simple::LabelIntensityStatisticsImageFilter::GetFeretDiameter ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 180 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetFeretDiameter.

◆ GetFlatness()

double itk::simple::LabelIntensityStatisticsImageFilter::GetFlatness ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 189 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetFlatness.

◆ GetKurtosis()

double itk::simple::LabelIntensityStatisticsImageFilter::GetKurtosis ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 296 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetKurtosis.

◆ GetLabels()

std::vector< int64_t > itk::simple::LabelIntensityStatisticsImageFilter::GetLabels ( ) const
inline

This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.

Definition at line 197 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_Labels.

◆ GetMaximum()

double itk::simple::LabelIntensityStatisticsImageFilter::GetMaximum ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 305 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetMaximum.

◆ GetMaximumIndex()

std::vector< uint32_t > itk::simple::LabelIntensityStatisticsImageFilter::GetMaximumIndex ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 314 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetMaximumIndex.

◆ GetMean()

double itk::simple::LabelIntensityStatisticsImageFilter::GetMean ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 323 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetMean.

◆ GetMedian()

double itk::simple::LabelIntensityStatisticsImageFilter::GetMedian ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 332 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetMedian.

◆ GetMinimum()

double itk::simple::LabelIntensityStatisticsImageFilter::GetMinimum ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 341 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetMinimum.

◆ GetMinimumIndex()

std::vector< uint32_t > itk::simple::LabelIntensityStatisticsImageFilter::GetMinimumIndex ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 350 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetMinimumIndex.

◆ GetName()

std::string itk::simple::LabelIntensityStatisticsImageFilter::GetName ( ) const
inlinevirtual

Name of this class

Implements itk::simple::ProcessObject.

Definition at line 426 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ GetNumberOfBins()

uint32_t itk::simple::LabelIntensityStatisticsImageFilter::GetNumberOfBins ( ) const
inline

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.

Definition at line 109 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_NumberOfBins.

◆ GetNumberOfLabels()

uint64_t itk::simple::LabelIntensityStatisticsImageFilter::GetNumberOfLabels ( )

Return the number of labels after execution.

Referenced by detail::DualExecuteInternalAddressor< MemberFunctionType >.

◆ GetNumberOfPixels()

uint64_t itk::simple::LabelIntensityStatisticsImageFilter::GetNumberOfPixels ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 206 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetNumberOfPixels.

◆ GetNumberOfPixelsOnBorder()

uint64_t itk::simple::LabelIntensityStatisticsImageFilter::GetNumberOfPixelsOnBorder ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 215 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetNumberOfPixelsOnBorder.

◆ GetPerimeter()

double itk::simple::LabelIntensityStatisticsImageFilter::GetPerimeter ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 224 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetPerimeter.

◆ GetPerimeterOnBorder()

double itk::simple::LabelIntensityStatisticsImageFilter::GetPerimeterOnBorder ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 233 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetPerimeterOnBorder.

◆ GetPerimeterOnBorderRatio()

double itk::simple::LabelIntensityStatisticsImageFilter::GetPerimeterOnBorderRatio ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 242 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetPerimeterOnBorderRatio.

◆ GetPhysicalSize()

double itk::simple::LabelIntensityStatisticsImageFilter::GetPhysicalSize ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 251 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetPhysicalSize.

◆ GetPrincipalAxes()

std::vector< double > itk::simple::LabelIntensityStatisticsImageFilter::GetPrincipalAxes ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 260 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetPrincipalAxes.

◆ GetPrincipalMoments()

std::vector< double > itk::simple::LabelIntensityStatisticsImageFilter::GetPrincipalMoments ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 269 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetPrincipalMoments.

◆ GetRegion()

std::vector< unsigned int > itk::simple::LabelIntensityStatisticsImageFilter::GetRegion ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 126 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetRegion.

◆ GetRoundness()

double itk::simple::LabelIntensityStatisticsImageFilter::GetRoundness ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 278 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetRoundness.

◆ GetSkewness()

double itk::simple::LabelIntensityStatisticsImageFilter::GetSkewness ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 359 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetSkewness.

◆ GetStandardDeviation()

double itk::simple::LabelIntensityStatisticsImageFilter::GetStandardDeviation ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 368 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetStandardDeviation.

◆ GetSum()

double itk::simple::LabelIntensityStatisticsImageFilter::GetSum ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 377 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetSum.

◆ GetVariance()

double itk::simple::LabelIntensityStatisticsImageFilter::GetVariance ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 386 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetVariance.

◆ GetWeightedElongation()

double itk::simple::LabelIntensityStatisticsImageFilter::GetWeightedElongation ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 395 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetWeightedElongation.

◆ GetWeightedFlatness()

double itk::simple::LabelIntensityStatisticsImageFilter::GetWeightedFlatness ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 404 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetWeightedFlatness.

◆ GetWeightedPrincipalAxes()

std::vector< double > itk::simple::LabelIntensityStatisticsImageFilter::GetWeightedPrincipalAxes ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 413 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetWeightedPrincipalAxes.

◆ GetWeightedPrincipalMoments()

std::vector< double > itk::simple::LabelIntensityStatisticsImageFilter::GetWeightedPrincipalMoments ( int64_t label) const
inline

This is an active measurement. It may be accessed while the filter is being executing in command call-backs and can be accessed after execution.

Definition at line 422 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetWeightedPrincipalMoments.

◆ HasLabel()

bool itk::simple::LabelIntensityStatisticsImageFilter::HasLabel ( int64_t label)

Does the specified label exist? Can only be called after a call a call to Update().

◆ SetBackgroundValue()

Self & itk::simple::LabelIntensityStatisticsImageFilter::SetBackgroundValue ( double BackgroundValue)
inline

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

Definition at line 66 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_BackgroundValue.

◆ SetComputeFeretDiameter()

Self & itk::simple::LabelIntensityStatisticsImageFilter::SetComputeFeretDiameter ( bool ComputeFeretDiameter)
inline

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

Definition at line 76 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_ComputeFeretDiameter.

Referenced by ComputeFeretDiameterOff(), and ComputeFeretDiameterOn().

◆ SetComputePerimeter()

Self & itk::simple::LabelIntensityStatisticsImageFilter::SetComputePerimeter ( bool ComputePerimeter)
inline

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

Definition at line 90 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_ComputePerimeter.

Referenced by ComputePerimeterOff(), and ComputePerimeterOn().

◆ SetNumberOfBins()

Self & itk::simple::LabelIntensityStatisticsImageFilter::SetNumberOfBins ( uint32_t NumberOfBins)
inline

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.

Definition at line 104 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_NumberOfBins.

◆ ToString()

std::string itk::simple::LabelIntensityStatisticsImageFilter::ToString ( ) const
virtual

Print ourselves out

Reimplemented from itk::simple::ProcessObject.

Friends And Related Symbol Documentation

◆ detail::DualExecuteInternalAddressor< MemberFunctionType >

Member Data Documentation

◆ m_BackgroundValue

double itk::simple::LabelIntensityStatisticsImageFilter::m_BackgroundValue {0}
private

◆ m_ComputeFeretDiameter

bool itk::simple::LabelIntensityStatisticsImageFilter::m_ComputeFeretDiameter {false}
private

◆ m_ComputePerimeter

bool itk::simple::LabelIntensityStatisticsImageFilter::m_ComputePerimeter {true}
private

◆ m_DualMemberFactory

std::unique_ptr<detail::DualMemberFunctionFactory<MemberFunctionType> > itk::simple::LabelIntensityStatisticsImageFilter::m_DualMemberFactory
private

Definition at line 452 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_Filter

itk::ProcessObject* itk::simple::LabelIntensityStatisticsImageFilter::m_Filter {nullptr}
private

Definition at line 537 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_Labels

std::vector<int64_t> itk::simple::LabelIntensityStatisticsImageFilter::m_Labels {std::vector<int64_t>()}
private

Definition at line 484 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetLabels().

◆ m_NumberOfBins

uint32_t itk::simple::LabelIntensityStatisticsImageFilter::m_NumberOfBins {128u}
private

Definition at line 463 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetNumberOfBins(), and SetNumberOfBins().

◆ m_pfGetBoundingBox

std::function<std::vector<unsigned int>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetBoundingBox
private

Definition at line 466 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetBoundingBox().

◆ m_pfGetCenterOfGravity

std::function<std::vector<double>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetCenterOfGravity
private

Definition at line 504 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetCenterOfGravity().

◆ m_pfGetCentroid

std::function<std::vector<double>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetCentroid
private

Definition at line 470 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetCentroid().

◆ m_pfGetElongation

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetElongation
private

Definition at line 472 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetElongation().

◆ m_pfGetEquivalentEllipsoidDiameter

std::function<std::vector<double>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetEquivalentEllipsoidDiameter
private

◆ m_pfGetEquivalentSphericalPerimeter

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetEquivalentSphericalPerimeter
private

◆ m_pfGetEquivalentSphericalRadius

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetEquivalentSphericalRadius
private

◆ m_pfGetFeretDiameter

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetFeretDiameter
private

Definition at line 480 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetFeretDiameter().

◆ m_pfGetFlatness

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetFlatness
private

Definition at line 482 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetFlatness().

◆ m_pfGetKurtosis

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetKurtosis
private

Definition at line 506 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetKurtosis().

◆ m_pfGetMaximum

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetMaximum
private

Definition at line 508 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMaximum().

◆ m_pfGetMaximumIndex

std::function<std::vector<uint32_t>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetMaximumIndex
private

Definition at line 510 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMaximumIndex().

◆ m_pfGetMean

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetMean
private

Definition at line 512 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMean().

◆ m_pfGetMedian

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetMedian
private

Definition at line 514 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMedian().

◆ m_pfGetMinimum

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetMinimum
private

Definition at line 516 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMinimum().

◆ m_pfGetMinimumIndex

std::function<std::vector<uint32_t>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetMinimumIndex
private

Definition at line 518 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMinimumIndex().

◆ m_pfGetNumberOfPixels

std::function<uint64_t(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetNumberOfPixels
private

Definition at line 486 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetNumberOfPixels().

◆ m_pfGetNumberOfPixelsOnBorder

std::function<uint64_t(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetNumberOfPixelsOnBorder
private

◆ m_pfGetPerimeter

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetPerimeter
private

Definition at line 490 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetPerimeter().

◆ m_pfGetPerimeterOnBorder

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetPerimeterOnBorder
private

Definition at line 492 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetPerimeterOnBorder().

◆ m_pfGetPerimeterOnBorderRatio

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetPerimeterOnBorderRatio
private

◆ m_pfGetPhysicalSize

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetPhysicalSize
private

Definition at line 496 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetPhysicalSize().

◆ m_pfGetPrincipalAxes

std::function<std::vector<double>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetPrincipalAxes
private

Definition at line 498 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetPrincipalAxes().

◆ m_pfGetPrincipalMoments

std::function<std::vector<double>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetPrincipalMoments
private

Definition at line 500 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetPrincipalMoments().

◆ m_pfGetRegion

std::function<std::vector<unsigned int>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetRegion
private

Definition at line 468 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetRegion().

◆ m_pfGetRoundness

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetRoundness
private

Definition at line 502 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetRoundness().

◆ m_pfGetSkewness

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetSkewness
private

Definition at line 520 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetSkewness().

◆ m_pfGetStandardDeviation

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetStandardDeviation
private

Definition at line 522 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetStandardDeviation().

◆ m_pfGetSum

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetSum
private

Definition at line 524 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetSum().

◆ m_pfGetVariance

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetVariance
private

Definition at line 526 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetVariance().

◆ m_pfGetWeightedElongation

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetWeightedElongation
private

Definition at line 528 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetWeightedElongation().

◆ m_pfGetWeightedFlatness

std::function<double(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetWeightedFlatness
private

Definition at line 530 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetWeightedFlatness().

◆ m_pfGetWeightedPrincipalAxes

std::function<std::vector<double>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetWeightedPrincipalAxes
private

Definition at line 532 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetWeightedPrincipalAxes().

◆ m_pfGetWeightedPrincipalMoments

std::function<std::vector<double>(int64_t)> itk::simple::LabelIntensityStatisticsImageFilter::m_pfGetWeightedPrincipalMoments
private

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