18#ifndef itkLabelOverlapMeasuresImageFilter_h
19#define itkLabelOverlapMeasuresImageFilter_h
24#include <unordered_map>
44template <
typename TLabelImage>
68 using SizeType =
typename TLabelImage::SizeType;
94 using MapType = std::unordered_map<LabelType, LabelSetMeasures>;
224#ifndef ITK_MANUAL_INSTANTIATION
225# include "itkLabelOverlapMeasuresImageFilter.hxx"
Control indentation during Print() invocation.
Metrics stored per label.
SizeValueType m_SourceComplement
SizeValueType m_Intersection
SizeValueType m_TargetComplement
typename TLabelImage::PixelType LabelType
RealType GetMeanOverlap() const
typename TLabelImage::ConstPointer LabelImageConstPointer
typename NumericTraits< LabelType >::RealType RealType
itkSetInputMacro(SourceImage, LabelImageType)
RealType GetJaccardCoefficient(LabelType label) const
RealType GetUnionOverlap() const
SmartPointer< const Self > ConstPointer
ImageSink< TLabelImage > Superclass
RealType GetUnionOverlap(LabelType) const
typename TLabelImage::RegionType RegionType
MapType m_LabelSetMeasures
RealType GetJaccardCoefficient() const
itkSetInputMacro(TargetImage, LabelImageType)
RealType GetFalsePositiveError(LabelType) const
LabelOverlapMeasuresImageFilter Self
TLabelImage LabelImageType
RealType GetFalseDiscoveryRate(LabelType) const
RealType GetFalseNegativeError() const
RealType GetFalseDiscoveryRate() const
RealType GetDiceCoefficient() const
typename TLabelImage::IndexType IndexType
RealType GetFalsePositiveError() const
RealType GetVolumeSimilarity(LabelType) const
typename TLabelImage::SizeType SizeType
RealType GetMeanOverlap(LabelType) const
typename MapType::iterator MapIterator
typename TLabelImage::Pointer LabelImagePointer
void ThreadedStreamedGenerateData(const RegionType &) override
RealType GetTargetOverlap(LabelType) const
void BeforeStreamedGenerateData() override
~LabelOverlapMeasuresImageFilter() override=default
typename NumericTraits< LabelType >::PrintType PrintType
itkGetInputMacro(SourceImage, LabelImageType)
MapType GetLabelSetMeasures()
void PrintSelf(std::ostream &os, Indent indent) const override
RealType GetTotalOverlap() const
RealType GetFalseNegativeError(LabelType) const
typename MapType::const_iterator MapConstIterator
SmartPointer< Self > Pointer
RealType GetVolumeSimilarity() const
static constexpr unsigned int ImageDimension
RealType GetDiceCoefficient(LabelType label) const
itkGetInputMacro(TargetImage, LabelImageType)
std::unordered_map< LabelType, LabelSetMeasures > MapType
LabelOverlapMeasuresImageFilter()
void MergeMap(MapType &m1, MapType &m2) const
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType