edu.jhu.ece.iacl.algorithms.manual_label.staple
Class STAPLEsingle
java.lang.Object
edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
edu.jhu.ece.iacl.algorithms.manual_label.staple.STAPLEsingle
public class STAPLEsingle
- extends AbstractCalculation
- Author:
- John Bogovic
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 |
pl
protected PerformanceLevel pl
prior
protected float prior
labels
protected java.lang.Number[] labels
convergesum
protected float convergesum
maxiters
protected int maxiters
dir
protected java.lang.String dir
eps
protected double eps
STAPLEsingle
public STAPLEsingle()
STAPLEsingle
public STAPLEsingle(int[][][][] img)
STAPLEsingle
public STAPLEsingle(java.lang.String[] filenames,
int[] dim)
STAPLEsingle
public STAPLEsingle(java.util.List<ImageData> imgs)
setmaxIters
public void setmaxIters(int max)
setImages
public void setImages(int[][][][] img)
setDir
public void setDir(java.lang.String dir)
setEps
public void setEps(double eps)
verifySizes
public boolean verifySizes()
initialize
public void initialize()
Estep
public void Estep()
Mstep
public void Mstep()
getPriorProb
public void getPriorProb()
iterate
public void iterate()
printPerformanceLevels
public void printPerformanceLevels()
printPerformanceLevels2
public void printPerformanceLevels2()
getTruthImage
public float[][][] getTruthImage()
getTruth
public ImageDataFloat getTruth()
getPeformanceLevel
public PerformanceLevel getPeformanceLevel()