public class GeodesicActiveContour extends LevelSetImplementation
Modifier and Type | Field and Description |
---|---|
protected double |
ALPHA_ADVECTION |
protected double |
BETA_PROPAGATION |
protected double |
GAMMA_CURVATURE |
protected double |
GAMMA_GREYSCALE |
protected double[][][] |
grad_gradients |
protected double[][][] |
gradients |
protected double |
GREY_EPSILON |
protected double |
GREY_T |
CONVERGENCE_FACTOR, CONVERGENCE_WEIGHT, DELTA_T, img, init_state, INSIDE, INSIDE_FAR, needInit, OUTSIDE, OUTSIDE_FAR, phi, seed_grey_zero, seed_greyvalue, source, STATE_ZERO, zScale
Constructor and Description |
---|
GeodesicActiveContour(ImageContainer image,
ImageProgressContainer img_progress,
StateContainer init_state,
double convergence,
double advection,
double prop,
double curve,
double grey) |
Modifier and Type | Method and Description |
---|---|
protected double[][][] |
calculateGradients(double[][][] grad_src)
Calculates grey value gradients of an input double array
Required for the grad_gradient calculation, taken from ImageContainer
|
protected double |
getAdvectionTerm(int x,
int y,
int z) |
protected double |
getCurvatureTerm(int x,
int y,
int z) |
protected double |
getDeltaPhi(int x,
int y,
int z) |
protected double |
getPropagationTerm(int x,
int y,
int z) |
protected void |
init() |
protected void |
updateDeltaT()
Updates the time step for numerical solution.
|
cleanup
dumpStateMap, getStateContainer, getStateMap, step
protected double[][][] gradients
protected double[][][] grad_gradients
protected final double ALPHA_ADVECTION
protected final double BETA_PROPAGATION
protected final double GAMMA_CURVATURE
protected final double GAMMA_GREYSCALE
protected final double GREY_EPSILON
protected final double GREY_T
public GeodesicActiveContour(ImageContainer image, ImageProgressContainer img_progress, StateContainer init_state, double convergence, double advection, double prop, double curve, double grey)
protected final void init()
init
in class LevelSetImplementation
protected final double getDeltaPhi(int x, int y, int z)
getDeltaPhi
in class LevelSetImplementation
protected final void updateDeltaT()
LevelSetImplementation
updateDeltaT
in class LevelSetImplementation
protected final double getAdvectionTerm(int x, int y, int z)
protected final double getPropagationTerm(int x, int y, int z)
protected final double getCurvatureTerm(int x, int y, int z)
protected final double[][][] calculateGradients(double[][][] grad_src)
Copyright © 2015–2021 Fiji. All rights reserved.