SimpleITK  2.0.0
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:

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_tGetLabels () const
 
double GetMaximum (int64_t label) const
 
std::vector< uint32_tGetMaximumIndex (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_tGetMinimumIndex (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_tm_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<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)
 

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://hdl.handle.net/1926/584 or http://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 48 of file sitkLabelIntensityStatisticsImageFilter.h.

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

◆ PixelIDTypeList

Define the pixels types supported by this filter

Definition at line 60 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ Self

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

◆ ComputeFeretDiameterOn()

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

Set the value of ComputeFeretDiameter to true or false respectfully.

Definition at line 80 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ ComputePerimeterOff()

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

Definition at line 95 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ ComputePerimeterOn()

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

Set the value of ComputePerimeter to true or false respectfully.

Definition at line 94 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 72 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 118 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 288 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 136 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 defaut value is false, because of the high computation time required.

Definition at line 86 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ GetComputePerimeter()

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

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

Definition at line 100 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 145 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 154 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 163 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 172 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 181 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 190 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 297 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 198 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 306 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 315 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 324 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 333 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 342 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 351 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ GetName()

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

Name of this class

Implements itk::simple::ProcessObject.

Definition at line 427 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 110 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 207 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 216 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 225 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 234 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 243 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 252 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 261 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 270 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 127 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 279 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 360 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 369 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 378 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 387 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 396 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 405 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 414 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 423 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 67 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 defaut value is false, because of the high computation time required.

Definition at line 77 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ SetComputePerimeter()

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

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

Definition at line 91 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 105 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 449 of file sitkLabelIntensityStatisticsImageFilter.h.

Member Data Documentation

◆ m_BackgroundValue

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

Definition at line 458 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_ComputeFeretDiameter

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

Definition at line 460 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_ComputePerimeter

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

Definition at line 462 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_DualMemberFactory

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

Definition at line 453 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_Filter

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

Definition at line 538 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_Labels

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

Definition at line 485 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_NumberOfBins

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

Definition at line 464 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetBoundingBox

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

Definition at line 467 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetCenterOfGravity

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

Definition at line 505 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetCentroid

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

Definition at line 471 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetElongation

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

Definition at line 473 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetEquivalentEllipsoidDiameter

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

Definition at line 475 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetEquivalentSphericalPerimeter

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

Definition at line 477 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetEquivalentSphericalRadius

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

Definition at line 479 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetFeretDiameter

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

Definition at line 481 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetFlatness

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

Definition at line 483 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetKurtosis

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

Definition at line 507 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMaximum

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

Definition at line 509 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMaximumIndex

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

Definition at line 511 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMean

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

Definition at line 513 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMedian

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

Definition at line 515 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMinimum

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

Definition at line 517 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetMinimumIndex

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

Definition at line 519 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetNumberOfPixels

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

Definition at line 487 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetNumberOfPixelsOnBorder

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

Definition at line 489 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPerimeter

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

Definition at line 491 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPerimeterOnBorder

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

Definition at line 493 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPerimeterOnBorderRatio

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

Definition at line 495 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPhysicalSize

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

Definition at line 497 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPrincipalAxes

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

Definition at line 499 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetPrincipalMoments

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

Definition at line 501 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetRegion

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

Definition at line 469 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetRoundness

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

Definition at line 503 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetSkewness

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

Definition at line 521 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetStandardDeviation

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

Definition at line 523 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetSum

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

Definition at line 525 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetVariance

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

Definition at line 527 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetWeightedElongation

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

Definition at line 529 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetWeightedFlatness

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

Definition at line 531 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetWeightedPrincipalAxes

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

Definition at line 533 of file sitkLabelIntensityStatisticsImageFilter.h.

◆ m_pfGetWeightedPrincipalMoments

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

Definition at line 535 of file sitkLabelIntensityStatisticsImageFilter.h.


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