de.unihalle.informatik.MiToBo.segmentation.activecontours.datatypes
Interface MTBSet_ActiveContourEnergy

All Known Implementing Classes:
MTBSet_LevelEnergyDerivable, MTBSet_SnakeEnergyComputable, MTBSet_SnakeEnergyDerivable

public interface MTBSet_ActiveContourEnergy

Common interface for sets of active contour energies.

This interface is particularly necessary for unified handling of energy sets by the I/O providers.

Author:
moeller

Method Summary
 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.
 

Method Detail

setEnergyList

void setEnergyList(Vector<MTBActiveContourEnergy> es)
Sets list of energies.

Parameters:
es - List of energies.

getGenericEnergyList

Vector<MTBActiveContourEnergy> getGenericEnergyList()
Returns list of energies converted to generic type.

Returns:
List of energies.

getEnergy

MTBActiveContourEnergy getEnergy(int i)
Returns the energy with given index.

Parameters:
i - Index of energy.
Returns:
Energy with index i.

setWeights

void setWeights(Vector<Double> ws)
Sets the weights for the energies.

Parameters:
ws - List of weights.

getWeights

Vector<Double> getWeights()
Returns the list of weights.

Returns:
Vector of weights.

getWeight

Double getWeight(int i)
Returns the weight of the energy with given index.

Parameters:
i - Index of requested weight.
Returns:
Value of weight.


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.