@ALDParametrizedClass public interface MTBSnakeEnergyCoupled extends MTBActiveContourEnergy
Modifier and Type | Method and Description |
---|---|
boolean |
initEnergy(SnakeOptimizerCoupled o)
Init routine which is called once before the energy is actually used.
|
boolean |
requiresCounterClockwiseContourSorting()
Ask energy if contour points need to sorted counter-clockwise.
|
boolean |
requiresOverlapMask()
Ask energy if an overlap mask for all snakes jointly optimized is required.
|
void |
updateStatus(SnakeOptimizerCoupled o)
Update internal state of energy object prior to querying
derivatives and so on.
|
boolean initEnergy(SnakeOptimizerCoupled o) throws MTBSnakeException
In this routine global parameter settings can be handled or other initialization stuff be done. Snake optimizers are supposed to call this routine once before they actual use of the energy. If no stuff needs to be done in advance the routine should at least return true.
o
- Calling snake optimizer.MTBSnakeException
void updateStatus(SnakeOptimizerCoupled o) throws MTBSnakeException
MTBSnakeException
boolean requiresCounterClockwiseContourSorting()
boolean requiresOverlapMask()
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.