public interface MTBSet_ActiveContourEnergy
This interface is particularly necessary for unified handling of energy sets by the I/O providers.
| Modifier and Type | Method and Description |
|---|---|
MTBActiveContourEnergy |
getEnergy(int i)
Returns the energy with given index.
|
Vector<MTBActiveContourEnergy> |
getGenericEnergyList()
Returns list of energies converted to generic type.
|
Double |
getWeight(int i)
Returns the weight of the energy with given index.
|
Vector<Double> |
getWeights()
Returns the list of weights.
|
void |
setEnergyList(Vector<MTBActiveContourEnergy> es)
Sets list of energies.
|
void |
setWeights(Vector<Double> ws)
Sets the weights for the energies.
|
void setEnergyList(Vector<MTBActiveContourEnergy> es)
es - List of energies.Vector<MTBActiveContourEnergy> getGenericEnergyList()
MTBActiveContourEnergy getEnergy(int i)
i - Index of energy.void setWeights(Vector<Double> ws)
ws - List of weights.Double getWeight(int i)
i - Index of requested weight.Copyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.