Package org.itk.simple
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://www.insight-journal.org/browse/publication/707
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 parametersprotected
LabelOverlapMeasuresImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::LabelOverlapMeasuresImageFilter::~LabelOverlapMeasuresImageFilter() Destructorvoid
void itk::simple::LabelOverlapMeasuresImageFilter::Execute(const Image &sourceImage, const Image &targetImage) Execute the filter on the input imageprotected void
finalize()
protected static long
double
double itk::simple::LabelOverlapMeasuresImageFilter::GetDiceCoefficient(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label.double
getDiceCoefficient
(int label) double itk::simple::LabelOverlapMeasuresImageFilter::GetDiceCoefficient(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label.double
double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseDiscoveryRate(int64_t label) const Get the false discovery rate for the specified individual label.double
getFalseDiscoveryRate
(int label) double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseDiscoveryRate(int64_t label) const Get the false discovery rate for the specified individual label.double
double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseNegativeError(int64_t label) const Get the false negative error for the specified individual label.double
getFalseNegativeError
(int label) double itk::simple::LabelOverlapMeasuresImageFilter::GetFalseNegativeError(int64_t label) const Get the false negative error for the specified individual label.double
double itk::simple::LabelOverlapMeasuresImageFilter::GetFalsePositiveError(int64_t label) const Get the false positive error for the specified individual label.double
getFalsePositiveError
(int label) double itk::simple::LabelOverlapMeasuresImageFilter::GetFalsePositiveError(int64_t label) const Get the false positive error for the specified individual label.double
double itk::simple::LabelOverlapMeasuresImageFilter::GetJaccardCoefficient(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label.double
getJaccardCoefficient
(int label) double itk::simple::LabelOverlapMeasuresImageFilter::GetJaccardCoefficient(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label.double
double itk::simple::LabelOverlapMeasuresImageFilter::GetMeanOverlap(int64_t label) const Get the mean overlap (Dice coefficient) for the specified individual label.double
getMeanOverlap
(int 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 classdouble
double itk::simple::LabelOverlapMeasuresImageFilter::GetUnionOverlap(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label.double
getUnionOverlap
(int label) double itk::simple::LabelOverlapMeasuresImageFilter::GetUnionOverlap(int64_t label) const Get the union overlap (Jaccard coefficient) for the specified individual label.double
double itk::simple::LabelOverlapMeasuresImageFilter::GetVolumeSimilarity(int64_t label) const Get the volume similarity for the specified individual label.double
getVolumeSimilarity
(int label) double itk::simple::LabelOverlapMeasuresImageFilter::GetVolumeSimilarity(int64_t label) const Get the volume similarity for the specified individual label.protected static long
toString()
std::string itk::simple::LabelOverlapMeasuresImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods 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:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::LabelOverlapMeasuresImageFilter::~LabelOverlapMeasuresImageFilter() Destructor- Overrides:
delete
in 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(int 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(int 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(int 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(int 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(int 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(int 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(int 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(int 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:
getName
in classProcessObject
-
toString
std::string itk::simple::LabelOverlapMeasuresImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
void itk::simple::LabelOverlapMeasuresImageFilter::Execute(const Image &sourceImage, const Image &targetImage) Execute the filter on the input image
-