|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unihalle.informatik.MiToBo.segmentation.snakes.optimize.stepsize.MTBGammaUpdate
@ALDParametrizedClass public abstract class MTBGammaUpdate
Class for adaptive step size calculation of the snake step size gamma.
The step size can be adapted by several methods, which can be found in the derived classes in detail.
Field Summary | |
---|---|
protected double[][] |
adaptedGamma
The new and adapted gamma values for all snake points. |
protected SnakeOptimizerSingleVarCalc |
optimizer
Current snake optimizer with all its parameters and fields like the current snake, old snake, gamma values and energies. |
protected boolean |
verbose
Flag to turn display of additional information on/off. |
Constructor Summary | |
---|---|
MTBGammaUpdate()
|
Method Summary | |
---|---|
abstract double[][] |
adaptGamma()
Method for gamma adaptation. |
abstract MTBGammaUpdate |
clone()
Clones this object. |
abstract boolean |
init(SnakeOptimizerSingleVarCalc opt)
Initializing routine which is called once before the gamma adaptation is actually used. |
abstract java.lang.String |
toString()
Method for short adaptation description name. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected transient double[][] adaptedGamma
protected transient SnakeOptimizerSingleVarCalc optimizer
@ALDClassParameter(label="Verbose", dataIOOrder=100) protected boolean verbose
Constructor Detail |
---|
public MTBGammaUpdate()
Method Detail |
---|
public abstract double[][] adaptGamma()
public abstract MTBGammaUpdate clone() throws java.lang.CloneNotSupportedException
Note that all internal variables should be cloned. As this is not
possible for the SnakeOptimizerSingle
object the internal
reference should be left to null. It will be properly initialized
later when SnakeOptimizerSingle.initOptimizer()
is invoked.
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public abstract boolean init(SnakeOptimizerSingleVarCalc opt)
In this routine global parameter settings can be handled or other initialization stuff be done. The SnakeOptimizer will call this routine once before the actual use of the gamma update strategy. If no stuff needs to be done in advance the routine should at least return true.
opt
- calling snake optimizer
public abstract java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |