|
||||||||
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
de.unihalle.informatik.MiToBo.segmentation.snakes.optimize.stepsize.MTBGammaPtWiseExtEner
@ALDDerivedClass @ALDParametrizedClass public class MTBGammaPtWiseExtEner
Class for gamma adaptation depending on the external energy values for each snake control point. Adaptation calculation: Gamma-function acts like an root square function. High energy value means high gamma value an low energy value means low gamma value. This adaptation strategy was developed for the distance map as external snake energy.
Field Summary |
---|
Fields inherited from class de.unihalle.informatik.MiToBo.segmentation.snakes.optimize.stepsize.MTBGammaUpdate |
---|
adaptedGamma, optimizer, verbose |
Constructor Summary | |
---|---|
MTBGammaPtWiseExtEner()
Standardconstructor |
Method Summary | |
---|---|
double[][] |
adaptGamma()
Gamma adaptation using a point wise adaptation, depending on the current snake and the external energy force. |
MTBGammaPtWiseExtEner |
clone()
Clones this object. |
boolean |
init(SnakeOptimizerSingleVarCalc opt)
Initializing routine which is called once before the gamma adaptation is actually used. |
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 |
Constructor Detail |
---|
public MTBGammaPtWiseExtEner()
Method Detail |
---|
public double[][] adaptGamma()
adaptGamma
in class MTBGammaUpdate
public MTBGammaPtWiseExtEner clone() throws java.lang.CloneNotSupportedException
Note that the SnakeOptimizerSingle
object is left null! You have to
call SnakeOptimizer.initOptimizer()
before using the gamma updater.
clone
in class MTBGammaUpdate
java.lang.CloneNotSupportedException
public boolean init(SnakeOptimizerSingleVarCalc opt)
MTBGammaUpdate
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.
init
in class MTBGammaUpdate
opt
- calling snake optimizer
public java.lang.String toString()
MTBGammaUpdate
toString
in class MTBGammaUpdate
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |