#include <itkLabelOverlapMeasuresImageFilter.h>
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 [131].
Definition at line 43 of file itkLabelOverlapMeasuresImageFilter.h.
Classes | |
class | LabelSetMeasures |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultCoordinateTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
static void | SetGlobalDefaultDirectionTolerance (double) |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TLabelImage::ImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | InputImageDimension |
Protected Types | |
using | PrintType = typename NumericTraits<LabelType>::PrintType |
Private Attributes | |
MapType | m_LabelSetMeasures {} |
std::mutex | m_Mutex {} |
Additional Inherited Members | |
![]() | |
template<typename TSourceObject> | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 52 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::IndexType = typename TLabelImage::IndexType |
Definition at line 67 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::LabelImageConstPointer = typename TLabelImage::ConstPointer |
Definition at line 63 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::LabelImagePointer = typename TLabelImage::Pointer |
Definition at line 62 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::LabelImageType = TLabelImage |
Image related type alias.
Definition at line 61 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::LabelType = typename TLabelImage::PixelType |
Definition at line 69 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::MapConstIterator = typename MapType::const_iterator |
Definition at line 94 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::MapIterator = typename MapType::iterator |
Definition at line 93 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::MapType = std::unordered_map<LabelType, LabelSetMeasures> |
Type of the map used to store data per label
Definition at line 92 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::Pointer = SmartPointer<Self> |
Definition at line 51 of file itkLabelOverlapMeasuresImageFilter.h.
|
protected |
Type to use for printing label values (e.g. in warnings).
Definition at line 200 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::RealType = typename NumericTraits<LabelType>::RealType |
Type to use for computations.
Definition at line 72 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::RegionType = typename TLabelImage::RegionType |
Definition at line 65 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::Self = LabelOverlapMeasuresImageFilter |
Standard Self type alias
Definition at line 49 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::SizeType = typename TLabelImage::SizeType |
Definition at line 66 of file itkLabelOverlapMeasuresImageFilter.h.
using itk::LabelOverlapMeasuresImageFilter< TLabelImage >::Superclass = ImageSink<TLabelImage> |
Definition at line 50 of file itkLabelOverlapMeasuresImageFilter.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
Called before the input's first requested region is set or updated.
Reimplemented from itk::ImageSink< TLabelImage >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightObject.
|
inline |
Get the mean overlap (Dice coefficient) over all labels.
Definition at line 148 of file itkLabelOverlapMeasuresImageFilter.h.
References GetMeanOverlap().
|
inline |
Get the mean overlap (Dice coefficient) for the specified individual label.
Definition at line 158 of file itkLabelOverlapMeasuresImageFilter.h.
References GetMeanOverlap().
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalseDiscoveryRate | ( | ) | const |
Get the false discovery rate over all labels.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalseDiscoveryRate | ( | LabelType | ) | const |
Get the false discovery rate for the specified individual label.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalseNegativeError | ( | ) | const |
Get the false negative error over all labels.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalseNegativeError | ( | LabelType | ) | const |
Get the false negative error for the specified individual label.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalsePositiveError | ( | ) | const |
Get the false positive error over all labels.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetFalsePositiveError | ( | LabelType | ) | const |
Get the false positive error for the specified individual label.
|
inline |
Get the union overlap (Jaccard coefficient) over all labels.
Definition at line 128 of file itkLabelOverlapMeasuresImageFilter.h.
References GetUnionOverlap().
|
inline |
Get the union overlap (Jaccard coefficient) for the specified individual label.
Definition at line 138 of file itkLabelOverlapMeasuresImageFilter.h.
References GetUnionOverlap().
|
inline |
Get the label set measures.
Definition at line 109 of file itkLabelOverlapMeasuresImageFilter.h.
References m_LabelSetMeasures.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetMeanOverlap | ( | ) | const |
Get the mean overlap (Dice coefficient) over all labels.
Referenced by GetDiceCoefficient(), and GetDiceCoefficient().
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetMeanOverlap | ( | LabelType | ) | const |
Get the mean overlap (Dice coefficient) for the specified individual label.
|
overridevirtual |
Reimplemented from itk::ImageSink< TLabelImage >.
References LabelOverlapMeasuresImageFilter().
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetTargetOverlap | ( | LabelType | ) | const |
Get the target overlap for the specified individual label.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetTotalOverlap | ( | ) | const |
Get the total overlap over all labels.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetUnionOverlap | ( | ) | const |
Get the union overlap (Jaccard coefficient) over all labels.
Referenced by GetJaccardCoefficient(), and GetJaccardCoefficient().
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetUnionOverlap | ( | LabelType | ) | const |
Get the union overlap (Jaccard coefficient) for the specified individual label.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetVolumeSimilarity | ( | ) | const |
Get the volume similarity over all labels.
RealType itk::LabelOverlapMeasuresImageFilter< TLabelImage >::GetVolumeSimilarity | ( | LabelType | ) | const |
Get the volume similarity for the specified individual label.
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::itkGetInputMacro | ( | SourceImage | , |
LabelImageType | ) |
Set the label image
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::itkGetInputMacro | ( | TargetImage | , |
LabelImageType | ) |
Set the label image
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::itkSetInputMacro | ( | SourceImage | , |
LabelImageType | ) |
Set the label image
itk::LabelOverlapMeasuresImageFilter< TLabelImage >::itkSetInputMacro | ( | TargetImage | , |
LabelImageType | ) |
Set the label image
|
protected |
|
static |
Method for creation through the object factory.
|
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::ImageSink< TLabelImage >.
|
overrideprotected |
|
staticconstexpr |
Image related type alias.
Definition at line 97 of file itkLabelOverlapMeasuresImageFilter.h.
|
private |
Definition at line 215 of file itkLabelOverlapMeasuresImageFilter.h.
Referenced by GetLabelSetMeasures().
|
private |
Definition at line 217 of file itkLabelOverlapMeasuresImageFilter.h.