|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBGenericEnergyNonPDE
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyNonPDE
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyKBNonPDE
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyKB2D2PNonPDE
public abstract class MTBLengthEnergyKB2D2PNonPDE
Implements the (standard) length energy using length approximation due to Kolmogorov/Boykov for two phases. Does NOT take invalid pixels into account This is an abstract class, neighborhood coordinates and weights have to be still defined. For notation see Danek, Matula: Graph cuts and approximation pf the Eucleidean metric on anisotropic grids, VISAPP 2010, 68-73.
Field Summary | |
---|---|
(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 |
Fields inherited from class de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyNonPDE |
---|
doNormalization, FLAG_LENGTH, mu, scaleFactor |
Fields inherited from class de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBGenericEnergyNonPDE |
---|
debug, name |
Constructor Summary | |
---|---|
MTBLengthEnergyKB2D2PNonPDE()
constructor |
|
MTBLengthEnergyKB2D2PNonPDE(double mu)
constructor |
Method Summary | |
---|---|
double |
deltaE(int x,
int y,
int z,
byte 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 . |
Methods inherited from class de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyKBNonPDE |
---|
createEnergy, init |
Methods inherited from class de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyNonPDE |
---|
setScaleFactor, toString |
Methods inherited from class de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBGenericEnergyNonPDE |
---|
deltaE, estimateParams, getNewIndent, print, setDebug, updateParams, updateParams |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
int[] e_x
int[] e_y
double[] w
Constructor Detail |
---|
public MTBLengthEnergyKB2D2PNonPDE()
public MTBLengthEnergyKB2D2PNonPDE(double mu)
mu
- Method Detail |
---|
public double deltaE(int x, int y, int z, byte newPhase, MTBLevelsetMembership phi)
MTBGenericEnergyNonPDE
phi
supplied
from current phase to newPhase
.
deltaE
in class MTBLengthEnergyKBNonPDE
newPhase
- new phase to change the pixel/voxel tophi
- level set function assumed to be associated with this energy object
public double E(MTBLevelsetMembership phi)
MTBGenericEnergyNonPDE
phi
.
E
in class MTBLengthEnergyKBNonPDE
phi
- level set function assumed to be associated with this energy object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |