de.unihalle.informatik.MiToBo.segmentation.levelset.core
Class DeltaApproxHelper

java.lang.Object
  extended by de.unihalle.informatik.MiToBo.segmentation.levelset.core.DeltaApproxHelper

public class DeltaApproxHelper
extends Object

Class calculating approximations to the Dirac impulse function.

The approximations used here are implemented according to

Chan and Vese, "An Active Contour Model without Edges", Scale-Space '99, LNCS 1682, pp. 141-151, Springer 1999.

Refer to DeltaApproxHelper.ApproxVersion for details about the available approximations.

Author:
Birgit Moeller

Nested Class Summary
static class DeltaApproxHelper.ApproxVersion
          Available approximations for the Heaviside function and its derivatives.
 
Constructor Summary
DeltaApproxHelper(double eps, DeltaApproxHelper.ApproxVersion v)
          Default constructor.
 
Method Summary
 double getValue(double z)
          Calculate approximated value for given parameter value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeltaApproxHelper

public DeltaApproxHelper(double eps,
                         DeltaApproxHelper.ApproxVersion v)
Default constructor.

Parameters:
eps - Value for approximation scale parameter.
v - Function version to be used for approximation.
Method Detail

getValue

public double getValue(double z)
Calculate approximated value for given parameter value.

Parameters:
z - Value for which to calculate function value.
Returns:
Calculated function value.


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.