de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE
Class MTBLengthEnergyFW2DMPNonPDE

java.lang.Object
  extended by de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBGenericEnergyNonPDE
      extended by de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyNonPDE
          extended by de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyFWNonPDE
              extended by de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyFW2DNonPDE
                  extended by 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


Field Summary
 
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
MTBLengthEnergyFW2DMPNonPDE()
          constructor
MTBLengthEnergyFW2DMPNonPDE(double mu)
          constructor
 
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
 
Methods inherited from class de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyFW2DNonPDE
deltaE, E, E
 
Methods inherited from class de.unihalle.informatik.MiToBo.segmentation.levelset.nonPDE.MTBLengthEnergyFWNonPDE
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
 

Constructor Detail

MTBLengthEnergyFW2DMPNonPDE

public MTBLengthEnergyFW2DMPNonPDE(double mu)
constructor

Parameters:
mu - weight of the length term

MTBLengthEnergyFW2DMPNonPDE

public MTBLengthEnergyFW2DMPNonPDE()
constructor

Method Detail

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.