Return the images used for image comparison by a variation model.
get_variation_model returns the image of the ideal object and the corresponding variation image of the variation model ModelID in Image and VarImage, respectively. The returned images can be used to check whether an image of a bad object has been trained with train_variation_model. 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.
|
Image (output_object) |
image -> object : byte / int2 / uint2 |
| Image of the trained object. | |
|
VarImage (output_object) |
image -> object : real |
| Variation image of the trained object. | |
|
ModelID (input_control) |
variation_model -> integer |
| ID of the variation model. | |
get_variation_model returns 2 (H_MSG_TRUE) if all parameters are correct.
get_variation_model is reentrant and processed without parallelization.
prepare_variation_model, compare_variation_model
Matching