get_thresh_images_variation_model — Return the threshold images used for image comparison by a variation
model.
get_thresh_images_variation_model returns the threshold
images of the variation model ModelID in MaxImage
and MinImage. The threshold images must be computed with
prepare_variation_model or
prepare_direct_variation_model before they can be read out.
The formula used for calculating the threshold images is described
with prepare_variation_model or
prepare_direct_variation_model. The threshold images are
used in compare_variation_model and
compare_ext_variation_model to detect too large deviations
of an image with respect to the model. As described with
compare_variation_model and
compare_ext_variation_model, gray values outside the
interval given by MinImage and MaxImage are
regarded as errors.
MinImage (output_object) image → object (byte / int2 / uint2)
Threshold image for the lower threshold.
MaxImage (output_object) image → object (real)
Threshold image for the upper threshold.
ModelID (input_control) variation_model → (handle)
ID of the variation model.
get_thresh_images_variation_model returns 2 (
H_MSG_TRUE)
if all
parameters are correct.
prepare_variation_model,
prepare_direct_variation_model
compare_variation_model,
compare_ext_variation_model
Matching