|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.segmentation.levelset.core.energies.derivable.MTBLevelEnergyDerivable_Length
@ALDDerivedClass @ALDParametrizedClass public class MTBLevelEnergyDerivable_Length
Energy minimizing the length of a level set's isocontour.
Constructor Summary | |
---|---|
MTBLevelEnergyDerivable_Length()
Default constructor. |
Method Summary | |
---|---|
double |
getDerivative(MTBLevelsetFunctionDerivable phi,
int x,
int y,
int z)
Get the energy derivative value, i.e. velocity, for position (x,y,z). |
double |
getDerivativeWithoutDelta(MTBLevelsetFunctionDerivable phi,
int x,
int y,
int z)
Get the energy derivative value, i.e. velocity, for position (x,y,z). |
boolean |
initEnergy(LevelsetSolverDerivatives solver)
Initializes the energy object according to given solver settings. |
void |
updateStatus(MTBLevelsetFunctionDerivable phi)
Function which updates the internal status of the energy. |
void |
useHeavideApproximation(boolean flag)
Enable or disable approximation of Heaviside function. |
String |
validate()
Function to validate configuration of energy object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MTBLevelEnergyDerivable_Length()
Method Detail |
---|
public boolean initEnergy(LevelsetSolverDerivatives solver)
MTBLevelsetEnergyDerivable
initEnergy
in interface MTBLevelsetEnergyDerivable
solver
- Reference to solver which uses this energy.
public void updateStatus(MTBLevelsetFunctionDerivable phi)
MTBLevelsetEnergyDerivable
updateStatus
in interface MTBLevelsetEnergyDerivable
phi
- Current level set function.public double getDerivative(MTBLevelsetFunctionDerivable phi, int x, int y, int z)
MTBLevelsetEnergyDerivable
getDerivative
in interface MTBLevelsetEnergyDerivable
phi
- Level set function.x
- x coordinate of requested position.y
- y coordinate of requested position.z
- z coordinate of requested position.
public double getDerivativeWithoutDelta(MTBLevelsetFunctionDerivable phi, int x, int y, int z)
MTBLevelsetEnergyDerivable
Here the value of the Dirac impulse function is ignored (if present).
getDerivativeWithoutDelta
in interface MTBLevelsetEnergyDerivable
phi
- Level set function.x
- x coordinate of requested position.y
- y coordinate of requested position.z
- z coordinate of requested position.
public String validate()
MTBLevelsetEnergyDerivable
validate
in interface MTBLevelsetEnergyDerivable
public void useHeavideApproximation(boolean flag)
MTBLevelsetEnergyDerivable
useHeavideApproximation
in interface MTBLevelsetEnergyDerivable
flag
- If true, approximation is enabled, otherwise disabled.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |