|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectendrov.flow.EvOpGeneral
endrov.flow.EvOpStack
endrov.flowLevelsets.EvOpLevelsetsFastMarching3D
public class EvOpLevelsetsFastMarching3D
3D levelsets distance calculation by fast marching. As EvOp, give speed, then starting points as mask (!=0 is a starting point). returns distance and origin color.
| Field Summary | |
|---|---|
static byte |
stateDead
|
static byte |
stateFar
|
static byte |
stateOpen
|
| Constructor Summary | |
|---|---|
EvOpLevelsetsFastMarching3D()
|
|
| Method Summary | |
|---|---|
static EvStack |
collectIntensities(ProgressHandle progh,
EvStack s,
Vector3i[][] origin)
Get intensity of origin |
EvStack[] |
exec(ProgressHandle ph,
EvStack... s)
Apply given several stacks, returns one or more stacks depending on operation |
int |
getNumberChannels()
Get the number of channels/stacks/image planes that this operation will return |
static void |
runLevelset(int width,
int height,
int depth,
java.util.Map<Vector3i,java.lang.Double> startPoints,
double[][] Ddistance,
byte[][] Sstate,
Vector3i[][] Qorigin,
double[][] Wspeed,
java.util.HashSet<Vector3i> endPointsHash)
Run fast marching on general input |
static Tuple<EvStack,Vector3i[][]> |
runLevelset(ProgressHandle progh,
EvStack stackSpeed,
EvStack stackStartPoints)
Run level sets on stacks. |
| Methods inherited from class endrov.flow.EvOpStack |
|---|
applyStackOpOnChannelsDifferentSize, applyStackOpOnChannelsSameSize, exec, exec, exec1, exec1, exec1 |
| Methods inherited from class endrov.flow.EvOpGeneral |
|---|
exec11, exec11, exec1Untyped, execUntyped |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte stateDead
public static final byte stateOpen
public static final byte stateFar
| Constructor Detail |
|---|
public EvOpLevelsetsFastMarching3D()
| Method Detail |
|---|
public EvStack[] exec(ProgressHandle ph,
EvStack... s)
EvOpGeneral
exec in class EvOpGeneralpublic int getNumberChannels()
EvOpGeneral
getNumberChannels in class EvOpGeneral
public static EvStack collectIntensities(ProgressHandle progh,
EvStack s,
Vector3i[][] origin)
public static Tuple<EvStack,Vector3i[][]> runLevelset(ProgressHandle progh,
EvStack stackSpeed,
EvStack stackStartPoints)
stackSpeed - Every pixel is speedstackStartPoints - Non-zero pixels are start points
public static void runLevelset(int width,
int height,
int depth,
java.util.Map<Vector3i,java.lang.Double> startPoints,
double[][] Ddistance,
byte[][] Sstate,
Vector3i[][] Qorigin,
double[][] Wspeed,
java.util.HashSet<Vector3i> endPointsHash)
width - height - depth - startPoints - Start points and distance to them (normally 0)Ddistance - Distances (returned)Sstate - State of calculation (returned)Qorigin - Origin of shortest path (returned)Wspeed - SpeedendPointsHash - End points, stop calculation if reached
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||