get_variation_modelT_get_variation_modelGetVariationModelGetVariationModel (Operator)
Name
get_variation_modelT_get_variation_modelGetVariationModelGetVariationModel — Return the images used for image comparison by a variation model.
Signature
Description
get_variation_modelget_variation_modelGetVariationModelGetVariationModelGetVariationModel returns the image of the ideal object
and the corresponding variation image of the variation model
ModelIDModelIDModelIDModelIDmodelID in ImageImageImageImageimage and VarImageVarImageVarImageVarImagevarImage,
respectively. The returned images can be used to check whether an
image of a bad object has been trained with
train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModelTrainVariationModel. This can be seen from the variation
image. If an image of a bad object has been trained, the variation
image typically has large variations in areas that should exhibit no
variations.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
ImageImageImageImageimage (output_object) image → objectHImageHImageHobject * (byte / int2 / uint2)
Image of the trained object.
VarImageVarImageVarImageVarImagevarImage (output_object) image → objectHImageHImageHobject * (real)
Variation image of the trained object.
ModelIDModelIDModelIDModelIDmodelID (input_control) variation_model → HVariationModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
ID of the variation model.
Result
get_variation_modelget_variation_modelGetVariationModelGetVariationModelGetVariationModel returns 2 (H_MSG_TRUE) if all parameters are
correct.
Possible Predecessors
train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModelTrainVariationModel
See also
prepare_variation_modelprepare_variation_modelPrepareVariationModelPrepareVariationModelPrepareVariationModel,
compare_variation_modelcompare_variation_modelCompareVariationModelCompareVariationModelCompareVariationModel,
compare_ext_variation_modelcompare_ext_variation_modelCompareExtVariationModelCompareExtVariationModelCompareExtVariationModel
Module
Matching