edu.jhu.ece.iacl.algorithms.manual_label.staple
Class STAPLEsurf
java.lang.Object
edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
edu.jhu.ece.iacl.algorithms.manual_label.staple.STAPLEsurf
public class STAPLEsurf
- extends AbstractCalculation
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
priors
protected java.util.ArrayList<java.lang.Float> priors
labels
protected java.util.ArrayList<java.lang.Number> labels
convergesum
protected double convergesum
maxiters
protected int maxiters
offset
protected int offset
dir
protected java.lang.String dir
eps
protected double eps
initType
protected java.lang.String initType
STAPLEsurf
public STAPLEsurf()
STAPLEsurf
public STAPLEsurf(java.util.List<EmbeddedSurface> surf)
STAPLEsurf
public STAPLEsurf(java.util.List<EmbeddedSurface> surf,
int offset)
setInit
public void setInit(java.lang.String init)
setmaxIters
public void setmaxIters(int max)
setEps
public void setEps(double eps)
setOffset
public void setOffset(int offset)
setSurfaces
public void setSurfaces(java.util.List<EmbeddedSurface> surf)
setDir
public void setDir(java.lang.String dir)
verifySizes
public boolean verifySizes()
findLabels
public void findLabels()
initialize
public void initialize()
Estep
public void Estep()
Mstep
public void Mstep()
getPriorProb
public void getPriorProb()
iterate
public void iterate()
printPerformanceLevels
public void printPerformanceLevels()
getPerformanceLevels
public java.lang.String getPerformanceLevels()
getTruthImage
public float[][][] getTruthImage()
getTruth
public java.util.ArrayList<EmbeddedSurface> getTruth()
getPeformanceLevel
public PerformanceLevel getPeformanceLevel()
getIndex
public int getIndex(java.util.ArrayList<java.lang.Number> l,
java.lang.Number n)
getHardSeg
public EmbeddedSurface getHardSeg()