edu.jhu.ece.iacl.algorithms.manual_label.staple
Class STAPLE
java.lang.Object
edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
edu.jhu.ece.iacl.algorithms.manual_label.staple.STAPLE
public class STAPLE
- 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 float[][] pl
prior
protected float prior
labels
protected java.util.ArrayList<java.lang.Number> labels
convergesum
protected float convergesum
maxiters
protected int maxiters
dir
protected java.lang.String dir
nbhdWeightIn
protected float nbhdWeightIn
nbhdWeight
protected float nbhdWeight
baseWeight
protected float baseWeight
nbhdsize
protected int nbhdsize
STAPLE
public STAPLE()
STAPLE
public STAPLE(int[][][][] img)
STAPLE
public STAPLE(java.lang.String[] filenames,
int[] dim)
STAPLE
public STAPLE(java.util.List<ImageData> img)
setmaxIters
public void setmaxIters(int max)
setImages
public void setImages(int[][][][] img)
setDir
public void setDir(java.lang.String dir)
verifySizes
public boolean verifySizes()
findLabels
public void findLabels()
initializeSingle
public void initializeSingle()
initialize
public void initialize()
Estep
public void Estep()
- Estimate the true segmentation based on the rater segmentations
and reliabilities using Equansions (14)-(16)
Mstep
public void Mstep()
getPriorProb
public void getPriorProb()
iterate
public void iterate()
printPerformanceLevels
public void printPerformanceLevels()
getPerformanceLevels
public java.lang.String getPerformanceLevels()
printPerformanceLevels2
public void printPerformanceLevels2()
getTruthImage
public float[][][] getTruthImage()
getTruth
public ImageDataFloat getTruth()
getPeformanceLevel
public float[][] getPeformanceLevel()