edu.jhu.ece.iacl.algorithms.volume
Class CompareVolumes

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
      extended by edu.jhu.ece.iacl.algorithms.volume.CompareVolumes

public class CompareVolumes
extends AbstractCalculation

Compare two volumes using a variety of different metrics.

Author:
Blake Lucas

Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
monitor
 
Constructor Summary
CompareVolumes(ImageData v1, ImageData v2, double bg, double binaryThresh, int histBins)
           
CompareVolumes(ImageData v1, ImageData v2, double backgroundThresh, int histBins)
           
 
Method Summary
 void compare()
           
 double getAbsoluteAverage()
           
 double getAverage()
           
 double getCorrelationCoefficient()
           
 double getDice()
           
 ImageData getDifferenceVolume()
           
 double getJaccard()
           
 double getKurtosisExcess()
           
 ImageData getMaskVolume()
           
 double getMax1()
           
 double getMax2()
           
 double getMaxError()
           
 double getMean1()
           
 double getMean2()
           
 double getMin1()
           
 double getMin2()
           
 double getMinError()
           
 double getMutualInformation()
           
 double getPercent1Error()
           
 double getPercent2Error()
           
 double getSkewness()
           
 double getStd1()
           
 double getStd2()
           
 double getStdDev()
           
static java.lang.String getVersion()
           
 boolean isComparable()
           
 boolean isComparable(ImageData v1, ImageData v2)
           
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
add, addTotalUnits, decrementCompletedUnits, decrementCompletedUnits, getCompletedUnits, getCurrentLabel, getCurrentProgress, getLabel, getPerformance, getProgress, getTotalUnits, incrementCompletedUnits, incrementCompletedUnits, isCompleted, markCompleted, reset, setCompletedUnits, setCompletedUnits, setLabel, setMonitor, setTotalUnits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompareVolumes

public CompareVolumes(ImageData v1,
                      ImageData v2,
                      double bg,
                      double binaryThresh,
                      int histBins)

CompareVolumes

public CompareVolumes(ImageData v1,
                      ImageData v2,
                      double backgroundThresh,
                      int histBins)
Method Detail

getVersion

public static java.lang.String getVersion()

getMutualInformation

public double getMutualInformation()

getMinError

public double getMinError()

getMaxError

public double getMaxError()

getAverage

public double getAverage()

getStdDev

public double getStdDev()

getSkewness

public double getSkewness()

getCorrelationCoefficient

public double getCorrelationCoefficient()

getJaccard

public double getJaccard()

getDice

public double getDice()

getKurtosisExcess

public double getKurtosisExcess()

getAbsoluteAverage

public double getAbsoluteAverage()

getPercent1Error

public double getPercent1Error()

getPercent2Error

public double getPercent2Error()

compare

public void compare()

getDifferenceVolume

public ImageData getDifferenceVolume()

getMaskVolume

public ImageData getMaskVolume()

isComparable

public boolean isComparable()

isComparable

public boolean isComparable(ImageData v1,
                            ImageData v2)

getMax1

public double getMax1()
Returns:
the max1

getMax2

public double getMax2()
Returns:
the max2

getMin1

public double getMin1()
Returns:
the min1

getMin2

public double getMin2()
Returns:
the min2

getStd1

public double getStd1()
Returns:
the std1

getStd2

public double getStd2()
Returns:
the std2

getMean1

public double getMean1()
Returns:
the mean1

getMean2

public double getMean2()
Returns:
the mean2