Class LabelOverlapMeasuresImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.LabelOverlapMeasuresImageFilter
Computes overlap measures between the set 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
Nicholas J. Tustison
See:
LabelOverlapMeasuresImageFilter
itk::LabelOverlapMeasuresImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkLabelOverlapMeasuresImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::LabelOverlapMeasuresImageFilter::LabelOverlapMeasuresImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedLabelOverlapMeasuresImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::LabelOverlapMeasuresImageFilter::~LabelOverlapMeasuresImageFilter() Destructorvoidvoid itk::simple::LabelOverlapMeasuresImageFilter::Execute(const Image &sourceImage, const Image &targetImage) Execute the filter on the input imageprotected voidfinalize()protected static longdoubledouble itk::simple::LabelOverlapMeasuresImageFilter::GetDiceCoefficient(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label.doublegetDiceCoefficient(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetDiceCoefficient(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label.doubledouble itk::simple::LabelOverlapMeasuresImageFilter::GetFalseDiscoveryRate(int64_t label) const Get the false discovery rate for the specified individual label.doublegetFalseDiscoveryRate(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseDiscoveryRate(int64_t label) const Get the false discovery rate for the specified individual label.doubledouble itk::simple::LabelOverlapMeasuresImageFilter::GetFalseNegativeError(int64_t label) const Get the false negative error for the specified individual label.doublegetFalseNegativeError(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseNegativeError(int64_t label) const Get the false negative error for the specified individual label.doubledouble itk::simple::LabelOverlapMeasuresImageFilter::GetFalsePositiveError(int64_t label) const Get the false positive error for the specified individual label.doublegetFalsePositiveError(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetFalsePositiveError(int64_t label) const Get the false positive error for the specified individual label.doubledouble itk::simple::LabelOverlapMeasuresImageFilter::GetJaccardCoefficient(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label.doublegetJaccardCoefficient(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetJaccardCoefficient(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label.doubledouble itk::simple::LabelOverlapMeasuresImageFilter::GetMeanOverlap(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label.doublegetMeanOverlap(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetMeanOverlap(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label.getName()std::string itk::simple::LabelOverlapMeasuresImageFilter::GetName() const Name of this classdoubledouble itk::simple::LabelOverlapMeasuresImageFilter::GetUnionOverlap(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label.doublegetUnionOverlap(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetUnionOverlap(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label.doubledouble itk::simple::LabelOverlapMeasuresImageFilter::GetVolumeSimilarity(int64_t label) const Get the volume similarity for the specified individual label.doublegetVolumeSimilarity(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetVolumeSimilarity(int64_t label) const Get the volume similarity for the specified individual label.protected static longtoString()std::string itk::simple::LabelOverlapMeasuresImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObject
abort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
-
Constructor Details
-
LabelOverlapMeasuresImageFilter
protected LabelOverlapMeasuresImageFilter(long cPtr, boolean cMemoryOwn) -
LabelOverlapMeasuresImageFilter
public LabelOverlapMeasuresImageFilter()itk::simple::LabelOverlapMeasuresImageFilter::LabelOverlapMeasuresImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::LabelOverlapMeasuresImageFilter::~LabelOverlapMeasuresImageFilter() Destructor- Overrides:
deletein classImageFilter
-
getFalseNegativeError
public double getFalseNegativeError()double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseNegativeError(int64_t label) const Get the false negative error for the specified individual label. 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. -
getFalseNegativeError
public double getFalseNegativeError(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseNegativeError(int64_t label) const Get the false negative error for the specified individual label. 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. -
getFalsePositiveError
public double getFalsePositiveError()double itk::simple::LabelOverlapMeasuresImageFilter::GetFalsePositiveError(int64_t label) const Get the false positive error for the specified individual label. 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. -
getFalsePositiveError
public double getFalsePositiveError(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetFalsePositiveError(int64_t label) const Get the false positive error for the specified individual label. 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. -
getMeanOverlap
public double getMeanOverlap()double itk::simple::LabelOverlapMeasuresImageFilter::GetMeanOverlap(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label. 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. -
getMeanOverlap
public double getMeanOverlap(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetMeanOverlap(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label. 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. -
getUnionOverlap
public double getUnionOverlap()double itk::simple::LabelOverlapMeasuresImageFilter::GetUnionOverlap(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label. 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. -
getUnionOverlap
public double getUnionOverlap(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetUnionOverlap(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label. 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. -
getVolumeSimilarity
public double getVolumeSimilarity()double itk::simple::LabelOverlapMeasuresImageFilter::GetVolumeSimilarity(int64_t label) const Get the volume similarity for the specified individual label. 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. -
getVolumeSimilarity
public double getVolumeSimilarity(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetVolumeSimilarity(int64_t label) const Get the volume similarity for the specified individual label. 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. -
getJaccardCoefficient
public double getJaccardCoefficient()double itk::simple::LabelOverlapMeasuresImageFilter::GetJaccardCoefficient(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label. 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. -
getJaccardCoefficient
public double getJaccardCoefficient(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetJaccardCoefficient(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label. 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. -
getDiceCoefficient
public double getDiceCoefficient()double itk::simple::LabelOverlapMeasuresImageFilter::GetDiceCoefficient(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label. 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. -
getDiceCoefficient
public double getDiceCoefficient(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetDiceCoefficient(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label. 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. -
getFalseDiscoveryRate
public double getFalseDiscoveryRate()double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseDiscoveryRate(int64_t label) const Get the false discovery rate for the specified individual label. 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. -
getFalseDiscoveryRate
public double getFalseDiscoveryRate(long label) double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseDiscoveryRate(int64_t label) const Get the false discovery rate for the specified individual label. 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. -
getName
std::string itk::simple::LabelOverlapMeasuresImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::LabelOverlapMeasuresImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-