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.
Threshold image for the lower threshold.
Threshold image for the upper threshold.
ID of the variation model.
get_thresh_images_variation_model returns 2 (H_MSG_TRUE) if all parameters are correct.