ITK  6.0.0
Insight Toolkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Private Attributes | List of all members
itk::LabelOverlapMeasuresImageFilter< TLabelImage > Class Template Reference

#include <itkLabelOverlapMeasuresImageFilter.h>

Detailed Description

template<typename TLabelImage>
class itk::LabelOverlapMeasuresImageFilter< TLabelImage >

Computes overlap measures between the same set of labels of pixels of two images. Background is assumed to be 0.

This code was contributed in the Insight Journal paper: "Introducing Dice, Jaccard, and Other Label Overlap Measures To ITK" by Nicholas J. Tustison, James C. Gee https://doi.org/10.54294/1vixgg

Author
Nicholas J. Tustison
See also
LabelOverlapMeasuresImageFilter

Definition at line 45 of file itkLabelOverlapMeasuresImageFilter.h.

+ Inheritance diagram for itk::LabelOverlapMeasuresImageFilter< TLabelImage >:
+ Collaboration diagram for itk::LabelOverlapMeasuresImageFilter< TLabelImage >:

Classes

class  LabelSetMeasures
 

Public Types

using ConstPointer = SmartPointer< const Self >
 
using IndexType = typename TLabelImage::IndexType
 
using LabelImageConstPointer = typename TLabelImage::ConstPointer
 
using LabelImagePointer = typename TLabelImage::Pointer
 
using LabelImageType = TLabelImage
 
using LabelType = typename TLabelImage::PixelType
 
using MapConstIterator = typename MapType::const_iterator
 
using MapIterator = typename MapType::iterator
 
using MapType = std::unordered_map< LabelType, LabelSetMeasures >
 
using Pointer = SmartPointer< Self >
 
using RealType = typename NumericTraits< LabelType >::RealType
 
using RegionType = typename TLabelImage::RegionType
 
using Self = LabelOverlapMeasuresImageFilter
 
using SizeType = typename TLabelImage::SizeType
 
using Superclass = ImageSink< TLabelImage >
 
- Public Types inherited from itk::ImageSink< TLabelImage >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectPointer = DataObject::Pointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TLabelImage
 
using Pointer = SmartPointer< Self >
 
using RegionSplitterPointer = typename SplitterType::Pointer
 
using Self = ImageSink
 
using SplitterType = ImageRegionSplitterBase
 
using Superclass = StreamingProcessObject
 
- Public Types inherited from itk::StreamingProcessObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = StreamingProcessObject
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

RealType GetFalseDiscoveryRate () const
 
RealType GetFalseDiscoveryRate (LabelType) const
 
RealType GetFalseNegativeError () const
 
RealType GetFalseNegativeError (LabelType) const
 
RealType GetFalsePositiveError () const
 
RealType GetFalsePositiveError (LabelType) const
 
MapType GetLabelSetMeasures ()
 
const char * GetNameOfClass () const override
 
RealType GetTargetOverlap (LabelType) const
 
RealType GetTotalOverlap () const
 
RealType GetVolumeSimilarity () const
 
RealType GetVolumeSimilarity (LabelType) const
 
 itkSetInputMacro (TargetImage, LabelImageType)
 
 itkGetInputMacro (TargetImage, LabelImageType)
 
 itkSetInputMacro (SourceImage, LabelImageType)
 
 itkGetInputMacro (SourceImage, LabelImageType)
 
RealType GetUnionOverlap () const
 
RealType GetJaccardCoefficient () const
 
RealType GetUnionOverlap (LabelType) const
 
RealType GetJaccardCoefficient (LabelType label) const
 
RealType GetMeanOverlap () const
 
RealType GetDiceCoefficient () const
 
RealType GetMeanOverlap (LabelType) const
 
RealType GetDiceCoefficient (LabelType label) const
 
- Public Member Functions inherited from itk::ImageSink< TLabelImage >
virtual const InputImageTypeGetInput () const
 
virtual const InputImageTypeGetInput (const DataObjectIdentifierType &key) const
 
virtual const InputImageTypeGetInput (unsigned int idx) const
 
const char * GetNameOfClass () const override
 
virtual void SetInput (const InputImageType *input)
 
void Update () override
 
void UpdateLargestPossibleRegion () override
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::StreamingProcessObject
void GenerateData () override
 
virtual int GetCurrentRequestNumber () const
 
const char * GetNameOfClass () const override
 
void PropagateRequestedRegion (DataObject *output) override
 
void ResetPipeline () override
 
void UpdateOutputData (DataObject *output) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
const char * GetNameOfClass () const override
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *cmd) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
const char * GetNameOfClass () const override
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag) const
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual Pointer CreateAnother () const
 
virtual void Delete ()
 
virtual const char * GetNameOfClass () const
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 
virtual void Register () const
 
virtual void SetReferenceCount (int)
 
virtual void UnRegister () const noexcept
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageSink< TLabelImage >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TLabelImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSink< TLabelImage >
static constexpr unsigned int InputImageDimension
 

Protected Types

using PrintType = typename NumericTraits< LabelType >::PrintType
 

Protected Member Functions

void BeforeStreamedGenerateData () override
 
 LabelOverlapMeasuresImageFilter ()
 
void MergeMap (MapType &m1, MapType &m2) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void ThreadedStreamedGenerateData (const RegionType &) override
 
 ~LabelOverlapMeasuresImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageSink< TLabelImage >
virtual void AllocateOutputs ()
 
void BeforeStreamedGenerateData () override
 
void GenerateNthInputRequestedRegion (unsigned int inputRequestedRegionNumber) override
 
unsigned int GetNumberOfInputRequestedRegions () override
 
virtual unsigned int GetNumberOfStreamDivisions () const
 
 ImageSink ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetNumberOfStreamDivisions (unsigned int _arg)
 
void StreamedGenerateData (unsigned int inputRequestedRegionNumber) override
 
virtual void ThreadedStreamedGenerateData (const InputImageRegionType &inputRegionForChunk)=0
 
void VerifyInputInformation () const override
 
 ~ImageSink () override=default
 
virtual void SetRegionSplitter (SplitterType *_arg)
 
virtual SplitterTypeGetModifiableRegionSplitter ()
 
- Protected Member Functions inherited from itk::StreamingProcessObject
virtual void AfterStreamedGenerateData ()
 
virtual void BeforeStreamedGenerateData ()
 
virtual void GenerateNthInputRequestedRegion (unsigned int inputRequestedRegionNumber)=0
 
virtual unsigned int GetNumberOfInputRequestedRegions ()=0
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void StreamedGenerateData (unsigned int inputRequestedRegionNumber)=0
 
 StreamingProcessObject ()
 
 ~StreamingProcessObject () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateData ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation () const
 
virtual void VerifyPreconditions () const
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

MapType m_LabelSetMeasures {}
 
std::mutex m_Mutex {}
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::ProcessObject
template<typename TSourceObject >
static void MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs)
 
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ConstPointer

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::ConstPointer = SmartPointer<const Self>

Definition at line 54 of file itkLabelOverlapMeasuresImageFilter.h.

◆ IndexType

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::IndexType = typename TLabelImage::IndexType

Definition at line 69 of file itkLabelOverlapMeasuresImageFilter.h.

◆ LabelImageConstPointer

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::LabelImageConstPointer = typename TLabelImage::ConstPointer

Definition at line 65 of file itkLabelOverlapMeasuresImageFilter.h.

◆ LabelImagePointer

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::LabelImagePointer = typename TLabelImage::Pointer

Definition at line 64 of file itkLabelOverlapMeasuresImageFilter.h.

◆ LabelImageType

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::LabelImageType = TLabelImage

Image related type alias.

Definition at line 63 of file itkLabelOverlapMeasuresImageFilter.h.

◆ LabelType

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::LabelType = typename TLabelImage::PixelType

Definition at line 71 of file itkLabelOverlapMeasuresImageFilter.h.

◆ MapConstIterator

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::MapConstIterator = typename MapType::const_iterator

Definition at line 96 of file itkLabelOverlapMeasuresImageFilter.h.

◆ MapIterator

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::MapIterator = typename MapType::iterator

Definition at line 95 of file itkLabelOverlapMeasuresImageFilter.h.

◆ MapType

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::MapType = std::unordered_map<LabelType, LabelSetMeasures>

Type of the map used to store data per label

Definition at line 94 of file itkLabelOverlapMeasuresImageFilter.h.

◆ Pointer

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::Pointer = SmartPointer<Self>

Definition at line 53 of file itkLabelOverlapMeasuresImageFilter.h.

◆ PrintType

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::PrintType = typename NumericTraits<LabelType>::PrintType
protected

Type to use for printing label values (e.g. in warnings).

Definition at line 206 of file itkLabelOverlapMeasuresImageFilter.h.

◆ RealType

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::RealType = typename NumericTraits<LabelType>::RealType

Type to use for computations.

Definition at line 74 of file itkLabelOverlapMeasuresImageFilter.h.

◆ RegionType

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::RegionType = typename TLabelImage::RegionType

Definition at line 67 of file itkLabelOverlapMeasuresImageFilter.h.

◆ Self

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::Self = LabelOverlapMeasuresImageFilter

Standard Self type alias

Definition at line 51 of file itkLabelOverlapMeasuresImageFilter.h.

◆ SizeType

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::SizeType = typename TLabelImage::SizeType

Definition at line 68 of file itkLabelOverlapMeasuresImageFilter.h.

◆ Superclass

template<typename TLabelImage >
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::Superclass = ImageSink<TLabelImage>

Definition at line 52 of file itkLabelOverlapMeasuresImageFilter.h.

Constructor & Destructor Documentation

◆ LabelOverlapMeasuresImageFilter()

template<typename TLabelImage >
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::LabelOverlapMeasuresImageFilter ( )
protected

◆ ~LabelOverlapMeasuresImageFilter()

template<typename TLabelImage >
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::~LabelOverlapMeasuresImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ BeforeStreamedGenerateData()

template<typename TLabelImage >
void itk::LabelOverlapMeasuresImageFilter< TLabelImage >::BeforeStreamedGenerateData ( )
overrideprotectedvirtual

Called before the input's first requested region is set or updated.

Reimplemented from itk::StreamingProcessObject.

◆ GetDiceCoefficient() [1/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetDiceCoefficient ( ) const
inline

Get the mean overlap (Dice coefficient) over all labels.

Definition at line 149 of file itkLabelOverlapMeasuresImageFilter.h.

◆ GetDiceCoefficient() [2/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetDiceCoefficient ( LabelType  label) const
inline

Get the mean overlap (Dice coefficient) for the specified individual label.

Definition at line 159 of file itkLabelOverlapMeasuresImageFilter.h.

◆ GetFalseDiscoveryRate() [1/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalseDiscoveryRate ( ) const

Get the false discovery rate over all labels.

◆ GetFalseDiscoveryRate() [2/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalseDiscoveryRate ( LabelType  ) const

Get the false discovery rate for the specified individual label.

◆ GetFalseNegativeError() [1/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalseNegativeError ( ) const

Get the false negative error over all labels.

◆ GetFalseNegativeError() [2/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalseNegativeError ( LabelType  ) const

Get the false negative error for the specified individual label.

◆ GetFalsePositiveError() [1/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalsePositiveError ( ) const

Get the false positive error over all labels.

◆ GetFalsePositiveError() [2/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalsePositiveError ( LabelType  ) const

Get the false positive error for the specified individual label.

◆ GetJaccardCoefficient() [1/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetJaccardCoefficient ( ) const
inline

Get the union overlap (Jaccard coefficient) over all labels.

Definition at line 129 of file itkLabelOverlapMeasuresImageFilter.h.

◆ GetJaccardCoefficient() [2/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetJaccardCoefficient ( LabelType  label) const
inline

Get the union overlap (Jaccard coefficient) for the specified individual label.

Definition at line 139 of file itkLabelOverlapMeasuresImageFilter.h.

◆ GetLabelSetMeasures()

template<typename TLabelImage >
MapType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetLabelSetMeasures ( )
inline

Get the label set measures.

Definition at line 111 of file itkLabelOverlapMeasuresImageFilter.h.

◆ GetMeanOverlap() [1/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetMeanOverlap ( ) const

Get the mean overlap (Dice coefficient) over all labels.

◆ GetMeanOverlap() [2/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetMeanOverlap ( LabelType  ) const

Get the mean overlap (Dice coefficient) for the specified individual label.

◆ GetNameOfClass()

template<typename TLabelImage >
const char * itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetNameOfClass ( ) const
overridevirtual

◆ GetTargetOverlap()

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetTargetOverlap ( LabelType  ) const

Get the target overlap for the specified individual label.

◆ GetTotalOverlap()

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetTotalOverlap ( ) const

Get the total overlap over all labels.

◆ GetUnionOverlap() [1/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetUnionOverlap ( ) const

Get the union overlap (Jaccard coefficient) over all labels.

◆ GetUnionOverlap() [2/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetUnionOverlap ( LabelType  ) const

Get the union overlap (Jaccard coefficient) for the specified individual label.

◆ GetVolumeSimilarity() [1/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetVolumeSimilarity ( ) const

Get the volume similarity over all labels.

◆ GetVolumeSimilarity() [2/2]

template<typename TLabelImage >
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetVolumeSimilarity ( LabelType  ) const

Get the volume similarity for the specified individual label.

◆ itkGetInputMacro() [1/2]

template<typename TLabelImage >
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::itkGetInputMacro ( SourceImage  ,
LabelImageType   
)

Set the label image

◆ itkGetInputMacro() [2/2]

template<typename TLabelImage >
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::itkGetInputMacro ( TargetImage  ,
LabelImageType   
)

Set the label image

◆ itkSetInputMacro() [1/2]

template<typename TLabelImage >
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::itkSetInputMacro ( SourceImage  ,
LabelImageType   
)

Set the label image

◆ itkSetInputMacro() [2/2]

template<typename TLabelImage >
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::itkSetInputMacro ( TargetImage  ,
LabelImageType   
)

Set the label image

◆ MergeMap()

template<typename TLabelImage >
void itk::LabelOverlapMeasuresImageFilter< TLabelImage >::MergeMap ( MapType m1,
MapType m2 
) const
protected

◆ New()

template<typename TLabelImage >
static Pointer itk::LabelOverlapMeasuresImageFilter< TLabelImage >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TLabelImage >
void itk::LabelOverlapMeasuresImageFilter< TLabelImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::StreamingProcessObject.

◆ ThreadedStreamedGenerateData()

template<typename TLabelImage >
void itk::LabelOverlapMeasuresImageFilter< TLabelImage >::ThreadedStreamedGenerateData ( const RegionType )
overrideprotected

Member Data Documentation

◆ ImageDimension

template<typename TLabelImage >
constexpr unsigned int itk::LabelOverlapMeasuresImageFilter< TLabelImage >::ImageDimension = TLabelImage::ImageDimension
staticconstexpr

Image related type alias.

Definition at line 99 of file itkLabelOverlapMeasuresImageFilter.h.

◆ m_LabelSetMeasures

template<typename TLabelImage >
MapType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::m_LabelSetMeasures {}
private

Definition at line 221 of file itkLabelOverlapMeasuresImageFilter.h.

◆ m_Mutex

template<typename TLabelImage >
std::mutex itk::LabelOverlapMeasuresImageFilter< TLabelImage >::m_Mutex {}
private

Definition at line 223 of file itkLabelOverlapMeasuresImageFilter.h.


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