SimpleITK  
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
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://www.insight-journal.org/browse/publication/176

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. More...
 
virtual int AddCommand (itk::simple::EventEnum event, itk::simple::Command &cmd)
 Add a Command Object to observer the event. More...
 
virtual float GetProgress () const
 An Active Measurement of the progress of execution. More...
 
virtual bool HasCommand (itk::simple::EventEnum event) const
 Query of this object has any registered commands for event. More...
 
 ProcessObject ()
 
virtual void RemoveAllCommands ()
 Remove all registered commands. More...
 
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. More...
 
static void SetGlobalDefaultCoordinateTolerance (double)
 Access the global tolerance to determine congruent spaces. More...
 
static double GetGlobalDefaultDirectionTolerance ()
 Access the global tolerance to determine congruent spaces. More...
 
static void SetGlobalDefaultDirectionTolerance (double)
 Access the global tolerance to determine congruent spaces. More...
 
static bool SetGlobalDefaultThreader (const std::string &threader)
 Set/Get the default threader used for process objects. More...
 
static std::string GetGlobalDefaultThreader ()
 Set/Get the default threader used for process objects. More...
 
static void SetGlobalDefaultNumberOfThreads (unsigned int n)
 
static unsigned int GetGlobalDefaultNumberOfThreads ()
 Set/Get the default threader used for process objects. More...
 
- 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

Definition at line 49 of file sitkLabelIntensityStatisticsImageFilter.h.

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

Definition at line 80 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ 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.

◆ ComputePerimeterOff()

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

Definition at line 94 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ GetNumberOfLabels()

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

Return the number of labels after execution.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ 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.

◆ ToString()

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

Print ourselves out

Reimplemented from itk::simple::ProcessObject.

Friends And Related Function Documentation

◆ detail::DualExecuteInternalAddressor< MemberFunctionType >

Definition at line 448 of file sitkLabelIntensityStatisticsImageFilter.h.

Member Data Documentation

◆ m_BackgroundValue

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

Definition at line 457 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_ComputeFeretDiameter

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

Definition at line 459 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_ComputePerimeter

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

Definition at line 461 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ 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.

◆ m_NumberOfBins

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

Definition at line 463 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetBoundingBox

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

Definition at line 466 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetCenterOfGravity

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

Definition at line 504 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetCentroid

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

Definition at line 470 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetElongation

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

Definition at line 472 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetEquivalentEllipsoidDiameter

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

Definition at line 474 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetEquivalentSphericalPerimeter

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

Definition at line 476 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetEquivalentSphericalRadius

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

Definition at line 478 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetFeretDiameter

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

Definition at line 480 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetFlatness

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

Definition at line 482 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetKurtosis

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

Definition at line 506 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMaximum

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

Definition at line 508 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMaximumIndex

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

Definition at line 510 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMean

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

Definition at line 512 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMedian

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

Definition at line 514 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMinimum

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

Definition at line 516 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMinimumIndex

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

Definition at line 518 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetNumberOfPixels

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

Definition at line 486 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetNumberOfPixelsOnBorder

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

Definition at line 488 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPerimeter

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

Definition at line 490 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPerimeterOnBorder

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

Definition at line 492 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPerimeterOnBorderRatio

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

Definition at line 494 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPhysicalSize

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

Definition at line 496 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPrincipalAxes

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

Definition at line 498 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPrincipalMoments

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

Definition at line 500 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetRegion

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

Definition at line 468 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetRoundness

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

Definition at line 502 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetSkewness

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

Definition at line 520 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetStandardDeviation

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

Definition at line 522 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetSum

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

Definition at line 524 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetVariance

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

Definition at line 526 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetWeightedElongation

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

Definition at line 528 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetWeightedFlatness

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

Definition at line 530 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetWeightedPrincipalAxes

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

Definition at line 532 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetWeightedPrincipalMoments

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

Definition at line 534 of file sitkLabelIntensityStatisticsImageFilter.h.


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