public class FastMarching extends Object implements StagedAlgorithm
Modifier and Type | Field and Description |
---|---|
static byte |
ALIVE
Constant for ALIVE elements
|
static byte |
BAND
Constant for Band elements
|
static byte |
FAR
Constant for Far elements
|
Constructor and Description |
---|
FastMarching(ImageContainer image,
ImageProgressContainer img_progress,
StateContainer seedContainer,
boolean halt,
int grey_thresh,
double dist_thresh) |
FastMarching(ImageContainer image,
ImageProgressContainer img_progress,
StateContainer seedContainer,
boolean halt,
int grey_thresh,
double dist_thresh,
boolean apply_grey_value_erosion)
Creates a new instance of FastMarching
|
Modifier and Type | Method and Description |
---|---|
static double |
getDistanceThreshold()
Returns the default distance threshold.
|
static int |
getGreyThreshold()
Returns the default Grey value.
|
int |
getSeedGreyValue()
Returns the mean of the seed point grey values
|
StateContainer |
getStateContainer() |
DeferredByteArray3D |
getStateMap()
Returns the state map.
|
boolean |
step(int granularity)
Executes a defineable portion of the algorithm.
|
public static final byte FAR
public static final byte BAND
public static final byte ALIVE
public FastMarching(ImageContainer image, ImageProgressContainer img_progress, StateContainer seedContainer, boolean halt, int grey_thresh, double dist_thresh)
public FastMarching(ImageContainer image, ImageProgressContainer img_progress, StateContainer seedContainer, boolean halt, int grey_thresh, double dist_thresh, boolean apply_grey_value_erosion)
public static final int getGreyThreshold()
public static final double getDistanceThreshold()
public final boolean step(int granularity)
StagedAlgorithm
step
in interface StagedAlgorithm
granularity
- Number of steps to be executed before retuning (until further execution by a
consecutive call)public final DeferredByteArray3D getStateMap()
public final StateContainer getStateContainer()
public int getSeedGreyValue()
Copyright © 2015–2021 Fiji. All rights reserved.