|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
edu.jhu.cs.cisst.algorithms.segmentation.gac.DistanceField2D
public class DistanceField2D
Calculate 2D distance field using the Fast-marching method.
| Field Summary |
|---|
| Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation |
|---|
monitor |
| Constructor Summary | |
|---|---|
DistanceField2D()
Instantiates a new distance field2 d. |
|
DistanceField2D(AbstractCalculation parent)
Instantiates a new distance field2 d. |
|
| Method Summary | |
|---|---|
static ImageDataFloat |
doSolve(ImageDataFloat vol,
double thresh)
Do solve. |
static java.lang.String |
getVersion()
Gets the version. |
protected double |
march(double Nv,
double Sv,
double Ev,
double Wv,
double Fv,
double Bv,
int Nl,
int Sl,
int Fl,
int Bl)
March. |
static float |
maxSignedDistance(float[][] vol)
Max signed distance. |
ImageDataFloat |
solve(ImageDataFloat vol,
double maxDistance)
Solve. |
| 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 |
|---|
public DistanceField2D()
public DistanceField2D(AbstractCalculation parent)
parent - the parent| Method Detail |
|---|
public static java.lang.String getVersion()
public static ImageDataFloat doSolve(ImageDataFloat vol,
double thresh)
vol - the volthresh - the thresh
public static float maxSignedDistance(float[][] vol)
vol - the vol
public ImageDataFloat solve(ImageDataFloat vol,
double maxDistance)
vol - the volmaxDistance - the max distance
protected double march(double Nv,
double Sv,
double Ev,
double Wv,
double Fv,
double Bv,
int Nl,
int Sl,
int Fl,
int Bl)
Nv - the nvSv - the svEv - the evWv - the wvFv - the fvBv - the bvNl - the nlSl - the slFl - the flBl - the bl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||