Class LabelOverlapMeasuresImageFilter

java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.LabelOverlapMeasuresImageFilter

public class LabelOverlapMeasuresImageFilter extends ImageFilter
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
  • 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

      protected static long getCPtr(LabelOverlapMeasuresImageFilter obj)
    • swigRelease

      protected static long swigRelease(LabelOverlapMeasuresImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::LabelOverlapMeasuresImageFilter::~LabelOverlapMeasuresImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • 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

      public String getName()
      std::string itk::simple::LabelOverlapMeasuresImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::LabelOverlapMeasuresImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public void execute(Image sourceImage, Image targetImage)
      void itk::simple::LabelOverlapMeasuresImageFilter::Execute(const Image &sourceImage, const Image &targetImage) Execute the filter on the input image