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 48 of file sitkLabelIntensityStatisticsImageFilter.h.

Public Types

using PixelIDTypeList = IntegerLabelPixelIDTypeList
 
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

void ComputeFeretDiameterOff ()
 
void ComputeFeretDiameterOn ()
 
void ComputePerimeterOff ()
 
void ComputePerimeterOn ()
 
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 ()
 
void SetBackgroundValue (double BackgroundValue)
 
void SetComputeFeretDiameter (bool ComputeFeretDiameter)
 
void SetComputePerimeter (bool ComputePerimeter)
 
void SetNumberOfBins (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
 

Private Member Functions

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

Static Private Member Functions

static const detail::DualMemberFunctionFactory< MemberFunctionType > & GetMemberFunctionFactory ()
 

Private Attributes

double m_BackgroundValue { 0 }
 
bool m_ComputeFeretDiameter { false }
 
bool m_ComputePerimeter { true }
 
std::unique_ptr< itk::ProcessObject, ProcessObjectDeleterm_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

Initial value:
void (Self::*)(const Image *
image, const Image *
featureImage)
The Image class for SimpleITK.
Definition sitkImage.h:77

Setup for member function dispatching

Definition at line 437 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ PixelIDTypeList

Define the pixels types supported by this filter

Definition at line 60 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()

void itk::simple::LabelIntensityStatisticsImageFilter::ComputeFeretDiameterOff ( )
inline

◆ ComputeFeretDiameterOn()

void itk::simple::LabelIntensityStatisticsImageFilter::ComputeFeretDiameterOn ( )
inline

Set the value of ComputeFeretDiameter to true or false respectfully.

Definition at line 88 of file sitkLabelIntensityStatisticsImageFilter.h.

References SetComputeFeretDiameter().

◆ ComputePerimeterOff()

void itk::simple::LabelIntensityStatisticsImageFilter::ComputePerimeterOff ( )
inline

Definition at line 111 of file sitkLabelIntensityStatisticsImageFilter.h.

References SetComputePerimeter().

◆ ComputePerimeterOn()

void itk::simple::LabelIntensityStatisticsImageFilter::ComputePerimeterOn ( )
inline

Set the value of ComputePerimeter to true or false respectfully.

Definition at line 109 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 75 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_BackgroundValue.

◆ GetBoundingBox()

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

Get the bounding box of a labeled object. The bounding box is returned following the common convention for returning an itk::ImageRegion as a 1 dimensional array containing the index values followed by the size values. For example, a 2D image region would have the array

\[[x, y, width, height]\]

.

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 142 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 293 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 158 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 96 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 117 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 166 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 174 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 182 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 190 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 198 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 206 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 301 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 213 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 309 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 317 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 325 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 333 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_pfGetMedian.

◆ GetMemberFunctionFactory()

static const detail::DualMemberFunctionFactory< MemberFunctionType > & itk::simple::LabelIntensityStatisticsImageFilter::GetMemberFunctionFactory ( )
staticprivate

◆ 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 349 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 416 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 132 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 221 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 229 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 237 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 245 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 253 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 261 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 269 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 277 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 150 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 285 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 357 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 365 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 373 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 381 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 389 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 397 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 405 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 413 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()

void 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 69 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_BackgroundValue.

◆ SetComputeFeretDiameter()

void 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 83 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_ComputeFeretDiameter.

Referenced by ComputeFeretDiameterOff(), and ComputeFeretDiameterOn().

◆ SetComputePerimeter()

void 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 104 of file sitkLabelIntensityStatisticsImageFilter.h.

References m_ComputePerimeter.

Referenced by ComputePerimeterOff(), and ComputePerimeterOn().

◆ SetNumberOfBins()

void 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 125 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_Filter

std::unique_ptr<itk::ProcessObject, ProcessObjectDeleter> itk::simple::LabelIntensityStatisticsImageFilter::m_Filter {nullptr}
private

Definition at line 499 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_Labels

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

Definition at line 470 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetLabels().

◆ m_NumberOfBins

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

Definition at line 457 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 461 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 480 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 463 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetCentroid().

◆ m_pfGetElongation

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

Definition at line 464 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 468 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetFeretDiameter().

◆ m_pfGetFlatness

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

Definition at line 469 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetFlatness().

◆ m_pfGetKurtosis

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

Definition at line 481 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetKurtosis().

◆ m_pfGetMaximum

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

Definition at line 482 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 483 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMaximumIndex().

◆ m_pfGetMean

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

Definition at line 484 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMean().

◆ m_pfGetMedian

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

Definition at line 485 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMedian().

◆ m_pfGetMinimum

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

Definition at line 486 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 487 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetMinimumIndex().

◆ m_pfGetNumberOfPixels

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

Definition at line 471 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 473 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetPerimeter().

◆ m_pfGetPerimeterOnBorder

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

Definition at line 474 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 476 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 477 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 478 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 462 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetRegion().

◆ m_pfGetRoundness

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

Definition at line 479 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetRoundness().

◆ m_pfGetSkewness

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

Definition at line 488 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetSkewness().

◆ m_pfGetStandardDeviation

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

Definition at line 489 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetStandardDeviation().

◆ m_pfGetSum

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

Definition at line 490 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetSum().

◆ m_pfGetVariance

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

Definition at line 491 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetVariance().

◆ m_pfGetWeightedElongation

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

Definition at line 492 of file sitkLabelIntensityStatisticsImageFilter.h.

Referenced by GetWeightedElongation().

◆ m_pfGetWeightedFlatness

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

Definition at line 493 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 494 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: