get_thresh_images_variation_modelT_get_thresh_images_variation_modelGetThreshImagesVariationModelGetThreshImagesVariationModel (Operator)

Name

get_thresh_images_variation_modelT_get_thresh_images_variation_modelGetThreshImagesVariationModelGetThreshImagesVariationModel — Return the threshold images used for image comparison by a variation model.

Signature

get_thresh_images_variation_model( : MinImage, MaxImage : ModelID : )

Herror T_get_thresh_images_variation_model(Hobject* MinImage, Hobject* MaxImage, const Htuple ModelID)

void GetThreshImagesVariationModel(HObject* MinImage, HObject* MaxImage, const HTuple& ModelID)

HImage HVariationModel::GetThreshImagesVariationModel(HImage* MaxImage) const

static void HOperatorSet.GetThreshImagesVariationModel(out HObject minImage, out HObject maxImage, HTuple modelID)

HImage HVariationModel.GetThreshImagesVariationModel(out HImage maxImage)

Description

get_thresh_images_variation_modelget_thresh_images_variation_modelGetThreshImagesVariationModelGetThreshImagesVariationModelGetThreshImagesVariationModel returns the threshold images of the variation model ModelIDModelIDModelIDModelIDmodelID in MaxImageMaxImageMaxImageMaxImagemaxImage and MinImageMinImageMinImageMinImageminImage. The threshold images must be computed with prepare_variation_modelprepare_variation_modelPrepareVariationModelPrepareVariationModelPrepareVariationModel or prepare_direct_variation_modelprepare_direct_variation_modelPrepareDirectVariationModelPrepareDirectVariationModelPrepareDirectVariationModel before they can be read out. The formula used for calculating the threshold images is described with prepare_variation_modelprepare_variation_modelPrepareVariationModelPrepareVariationModelPrepareVariationModel or prepare_direct_variation_modelprepare_direct_variation_modelPrepareDirectVariationModelPrepareDirectVariationModelPrepareDirectVariationModel. The threshold images are used in compare_variation_modelcompare_variation_modelCompareVariationModelCompareVariationModelCompareVariationModel and compare_ext_variation_modelcompare_ext_variation_modelCompareExtVariationModelCompareExtVariationModelCompareExtVariationModel to detect too large deviations of an image with respect to the model. As described with compare_variation_modelcompare_variation_modelCompareVariationModelCompareVariationModelCompareVariationModel and compare_ext_variation_modelcompare_ext_variation_modelCompareExtVariationModelCompareExtVariationModelCompareExtVariationModel, gray values outside the interval given by MinImageMinImageMinImageMinImageminImage and MaxImageMaxImageMaxImageMaxImagemaxImage are regarded as errors.

Execution Information

Parameters

MinImageMinImageMinImageMinImageminImage (output_object)  image objectHImageHImageHobject * (byte / int2 / uint2)

Threshold image for the lower threshold.

MaxImageMaxImageMaxImageMaxImagemaxImage (output_object)  image objectHImageHImageHobject * (real)

Threshold image for the upper threshold.

ModelIDModelIDModelIDModelIDmodelID (input_control)  variation_model HVariationModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

ID of the variation model.

Result

get_thresh_images_variation_modelget_thresh_images_variation_modelGetThreshImagesVariationModelGetThreshImagesVariationModelGetThreshImagesVariationModel returns 2 (H_MSG_TRUE) if all parameters are correct.

Possible Predecessors

prepare_variation_modelprepare_variation_modelPrepareVariationModelPrepareVariationModelPrepareVariationModel, prepare_direct_variation_modelprepare_direct_variation_modelPrepareDirectVariationModelPrepareDirectVariationModelPrepareDirectVariationModel

See also

compare_variation_modelcompare_variation_modelCompareVariationModelCompareVariationModelCompareVariationModel, compare_ext_variation_modelcompare_ext_variation_modelCompareExtVariationModelCompareExtVariationModelCompareExtVariationModel

Module

Matching