de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE
Class MTBLengthEnergyFW2DMPNonPDE
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.MTBLengthEnergyFW2DNonPDE
de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyFW2DMPNonPDE
@ALDParametrizedClass
@ALDDerivedClass
public class MTBLengthEnergyFW2DMPNonPDE
- extends MTBLengthEnergyFW2DNonPDE
Implements the (standard) length energy using forward differences
for 2D images and a multi phase leve lset function.
Length is approximated using forward differences of the heaviside function
Method Summary |
protected double |
gradMagHeaviside(double a,
double b,
double c)
calculate the gradient magnitude of the foreward difference of the heavyside function
corresponding to the level set for one pixel |
MTBLengthEnergyFW2DMPNonPDE
public MTBLengthEnergyFW2DMPNonPDE(double mu)
- constructor
- Parameters:
mu
- weight of the length term
MTBLengthEnergyFW2DMPNonPDE
public MTBLengthEnergyFW2DMPNonPDE()
- constructor
gradMagHeaviside
protected double gradMagHeaviside(double a,
double b,
double c)
- calculate the gradient magnitude of the foreward difference of the heavyside function
corresponding to the level set for one pixel
- Specified by:
gradMagHeaviside
in class MTBLengthEnergyFW2DNonPDE
- Parameters:
a
- heaviside functtion at (x,y,z)b
- heaviside functtion at (x+1,y,z)c
- heaviside functtion at (x,y+1,z)
- Returns:
- gradient magnitude
Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.