edu.jhu.ece.iacl.algorithms.volume
Class CompareVolumes
java.lang.Object
edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
edu.jhu.ece.iacl.algorithms.volume.CompareVolumes
public class CompareVolumes
- extends AbstractCalculation
Compare two volumes using a variety of different metrics.
- Author:
- Blake Lucas
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 |
CompareVolumes
public CompareVolumes(ImageData v1,
ImageData v2,
double bg,
double binaryThresh,
int histBins)
CompareVolumes
public CompareVolumes(ImageData v1,
ImageData v2,
double backgroundThresh,
int histBins)
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