@ALDParametrizedClass public abstract class MTBLengthEnergyFW3DNonPDE extends MTBLengthEnergyFWNonPDE
doNormalization, FLAG_LENGTH, mu, scaleFactordebug, name| Constructor and Description |
|---|
MTBLengthEnergyFW3DNonPDE()
constructor
|
MTBLengthEnergyFW3DNonPDE(double mu)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
deltaE(int x,
int y,
int z,
short newPhase,
MTBLevelsetMembership phi)
Calculate differences of energy if the pixel/voxel (x,y,z) is changed
from its current phase in the level set function
phi supplied
from current phase to newPhase. |
double |
E(int x,
int y,
int z,
MTBLevelsetMembership phi)
Get energy term a voxel (x,y,z) for phi.
|
double |
E(MTBLevelsetMembership phi)
Return the complete energy for the level set function
phi. |
protected abstract double |
gradMagHeaviside(double a,
double b,
double c,
double d)
calculate the gradient magnitude of the foreward difference of the heavyside function
corresponding to the level set for one voxel
|
createEnergy, initsetScaleFactor, toStringdeltaE, estimateParams, getNewIndent, print, setDebug, updateParams, updateParamspublic MTBLengthEnergyFW3DNonPDE(double mu)
mu - weight of the length termpublic MTBLengthEnergyFW3DNonPDE()
public double deltaE(int x,
int y,
int z,
short newPhase,
MTBLevelsetMembership phi)
MTBGenericEnergyNonPDEphi supplied
from current phase to newPhase.deltaE in class MTBLengthEnergyFWNonPDEnewPhase - new phase to change the pixel/voxel tophi - level set function assumed to be associated with this energy objectprotected abstract double gradMagHeaviside(double a,
double b,
double c,
double d)
a - heaviside functtion at (x,y,z)b - heaviside functtion at (x+1,y,z)c - heaviside functtion at (x,y+1,z)d - heaviside functtion at (x,y,z+1)public double E(MTBLevelsetMembership phi)
MTBGenericEnergyNonPDEphi.
E in class MTBLengthEnergyFWNonPDEphi - level set function assumed to be associated with this energy objectpublic double E(int x,
int y,
int z,
MTBLevelsetMembership phi)
x - y - z - phi - Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.