@ALDParametrizedClass public abstract class MTBLengthEnergyKB2D2PNonPDE extends MTBLengthEnergyKBNonPDE
| Modifier and Type | Field and Description |
|---|---|
(package private) int[] |
e_x
x coordinate of displacement vector defining neighbor hood
|
(package private) int[] |
e_y
x coordinate of displacement vector defining neighbor hood
|
(package private) double[] |
w
weight for neighbors
|
doNormalization, FLAG_LENGTH, mu, scaleFactordebug, name| Constructor and Description |
|---|
MTBLengthEnergyKB2D2PNonPDE()
constructor
|
MTBLengthEnergyKB2D2PNonPDE(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(MTBLevelsetMembership phi)
Return the complete energy for the level set function
phi. |
createEnergy, initsetScaleFactor, toStringdeltaE, estimateParams, getNewIndent, print, setDebug, updateParams, updateParamsint[] e_x
int[] e_y
double[] w
public MTBLengthEnergyKB2D2PNonPDE()
public MTBLengthEnergyKB2D2PNonPDE(double mu)
mu - public double deltaE(int x,
int y,
int z,
short newPhase,
MTBLevelsetMembership phi)
MTBGenericEnergyNonPDEphi supplied
from current phase to newPhase.deltaE in class MTBLengthEnergyKBNonPDEnewPhase - new phase to change the pixel/voxel tophi - level set function assumed to be associated with this energy objectpublic double E(MTBLevelsetMembership phi)
MTBGenericEnergyNonPDEphi.
E in class MTBLengthEnergyKBNonPDEphi - level set function assumed to be associated with this energy objectCopyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.