18 #ifndef itkLabelOverlapMeasuresImageFilter_h
19 #define itkLabelOverlapMeasuresImageFilter_h
24 #include <unordered_map>
44 template <
typename TLabelImage>
94 using MapType = std::unordered_map<LabelType, LabelSetMeasures>;
99 static constexpr
unsigned int ImageDimension = TLabelImage::ImageDimension;
113 return this->m_LabelSetMeasures;
120 GetTotalOverlap()
const;
123 RealType GetTargetOverlap(LabelType)
const;
127 GetUnionOverlap()
const;
131 return this->GetUnionOverlap();
137 RealType GetUnionOverlap(LabelType)
const;
141 return this->GetUnionOverlap(label);
147 GetMeanOverlap()
const;
151 return this->GetMeanOverlap();
157 RealType GetMeanOverlap(LabelType)
const;
161 return this->GetMeanOverlap(label);
167 GetVolumeSimilarity()
const;
170 RealType GetVolumeSimilarity(LabelType)
const;
176 GetFalseNegativeError()
const;
179 RealType GetFalseNegativeError(LabelType)
const;
183 GetFalsePositiveError()
const;
186 RealType GetFalsePositiveError(LabelType)
const;
190 GetFalseDiscoveryRate()
const;
193 RealType GetFalseDiscoveryRate(LabelType)
const;
195 #ifdef ITK_USE_CONCEPT_CHECKING
209 PrintSelf(std::ostream & os,
Indent indent)
const override;
212 BeforeStreamedGenerateData()
override;
215 ThreadedStreamedGenerateData(
const RegionType &)
override;
223 std::mutex m_Mutex{};
228 #ifndef ITK_MANUAL_INSTANTIATION
229 # include "itkLabelOverlapMeasuresImageFilter.hxx"