edu.jhu.ece.iacl.algorithms.manual_label.staple
Class STAPLE

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
      extended by edu.jhu.ece.iacl.algorithms.manual_label.staple.STAPLE

public class STAPLE
extends AbstractCalculation

Author:
John Bogovic

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

Field Detail

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
Constructor Detail

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)
Method Detail

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()