mf_compute_energy ( : : ImageFeatureInterpretationName : Energy )

Calculating the energy value of an MF image interpretation.

The operator mf_compute_energy calculates the energy value of an image having an MF-feature file and an MF-interpretation file ImageFeatureInterpretationName with respect to the current MF-database.


Parameters

ImageFeatureInterpretationName (input_control)
string -> string
Name of the MF-feature file and the MF-interpretation file of the image for which the energy shall be calculated (the extensions .fea and .int will be added automatically).

Energy (output_control)
real -> real
Calculated energy value.


Example
read_image(:Obj:'fabrik':) >
gauss__(Obj:Smooth_Obj:7:) >
regiongrowing__(Smooth_Obj:Seg_Obj:1,1,5,50:) >
reduce_domain(Reg,Seg_Reg:Seg_Im::) >
mf_features(Seg_Im::'fabrik':) >
mf_read_db(::'fabrikhalle':) >
mf_interprete_image(::'fabrik','unknown_allowed',7:) >
mf_compute_energy(::'fabrik':Energy).

Result

If the parameter values are correct, the operator mf_compute_energy returns the value TRUE. Otherwise an exception is raised.


Possible Predecessors

mf_features, mf_db_generation, mf_read_db, mf_interprete_image


Possible Successors

mf_close_db


See also

mf_features, mf_db_generation, mf_interprete_image, mf_read_db, mf_set_db, mf_get_db, mf_close_db



Copyright © 1996-1997 MVTec Software GmbH