edu.jhu.ece.iacl.algorithms.volume
Class DistanceField

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
      extended by edu.jhu.ece.iacl.algorithms.volume.DistanceField

public class DistanceField
extends AbstractCalculation

Calculate distance field using Fast-marching method

Author:
Blake Lucas

Field Summary
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
monitor
 
Constructor Summary
DistanceField()
           
DistanceField(AbstractCalculation parent)
           
 
Method Summary
static ImageDataFloat doSolve(ImageDataFloat vol, double thresh)
           
static java.lang.String getVersion()
           
protected  double march(double Nv, double Sv, double Ev, double Wv, double Fv, double Bv, int Nl, int Sl, int El, int Wl, int Fl, int Bl)
           
static float maxSignedDistance(float[][][] vol)
           
 ImageDataFloat solve(ImageDataFloat vol, double maxDistance)
           
 
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
 

Constructor Detail

DistanceField

public DistanceField()

DistanceField

public DistanceField(AbstractCalculation parent)
Method Detail

getVersion

public static java.lang.String getVersion()

doSolve

public static ImageDataFloat doSolve(ImageDataFloat vol,
                                     double thresh)

maxSignedDistance

public static float maxSignedDistance(float[][][] vol)

solve

public ImageDataFloat solve(ImageDataFloat vol,
                            double maxDistance)

march

protected double march(double Nv,
                       double Sv,
                       double Ev,
                       double Wv,
                       double Fv,
                       double Bv,
                       int Nl,
                       int Sl,
                       int El,
                       int Wl,
                       int Fl,
                       int Bl)