de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE
Class MTBLengthEnergyFW3D2PNonPDE
java.lang.Object
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBGenericEnergyNonPDE
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyNonPDE
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyFWNonPDE
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyFW3DNonPDE
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyFW3D2PNonPDE
public class MTBLengthEnergyFW3D2PNonPDE
- extends MTBLengthEnergyFW3DNonPDE
Implements the (standard) length energy using forward differences
for 3D images and a two phase levelset function.
Method Summary |
protected double |
gradMagHeaviside(double a,
double b,
double c,
double d)
calculate the gradient magnitude of the forward difference of the heaviside function
corresponding to the level set for one voxel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SQRT_2
private final double SQRT_2
SQRT_3
private final double SQRT_3
MTBLengthEnergyFW3D2PNonPDE
public MTBLengthEnergyFW3D2PNonPDE()
- constructor
MTBLengthEnergyFW3D2PNonPDE
public MTBLengthEnergyFW3D2PNonPDE(double mu)
- constructor
- Parameters:
mu
- weight of the length term
gradMagHeaviside
protected double gradMagHeaviside(double a,
double b,
double c,
double d)
- calculate the gradient magnitude of the forward difference of the heaviside function
corresponding to the level set for one voxel
- Specified by:
gradMagHeaviside
in class MTBLengthEnergyFW3DNonPDE
- Parameters:
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)
- Returns: