get_variation_modelT_get_variation_modelGetVariationModelGetVariationModelget_variation_model (Operator)

Name

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

Signature

get_variation_model( : Image, VarImage : ModelID : )

Herror T_get_variation_model(Hobject* Image, Hobject* VarImage, const Htuple ModelID)

void GetVariationModel(HObject* Image, HObject* VarImage, const HTuple& ModelID)

HImage HVariationModel::GetVariationModel(HImage* VarImage) const

static void HOperatorSet.GetVariationModel(out HObject image, out HObject varImage, HTuple modelID)

HImage HVariationModel.GetVariationModel(out HImage varImage)

def get_variation_model(model_id: HHandle) -> Tuple[HObject, HObject]

Description

get_variation_modelget_variation_modelGetVariationModelGetVariationModelGetVariationModelget_variation_model returns the image of the ideal object and the corresponding variation image of the variation model ModelIDModelIDModelIDModelIDmodelIDmodel_id in ImageImageImageImageimageimage and VarImageVarImageVarImageVarImagevarImagevar_image, respectively. The returned images can be used to check whether an image of a bad object has been trained with train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModelTrainVariationModeltrain_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.

Execution Information

Parameters

ImageImageImageImageimageimage (output_object)  image objectHImageHObjectHImageHobject * (byte / int2 / uint2)

Image of the trained object.

VarImageVarImageVarImageVarImagevarImagevar_image (output_object)  image objectHImageHObjectHImageHobject * (real)

Variation image of the trained object.

ModelIDModelIDModelIDModelIDmodelIDmodel_id (input_control)  variation_model HVariationModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

ID of the variation model.

Result

get_variation_modelget_variation_modelGetVariationModelGetVariationModelGetVariationModelget_variation_model returns TRUE if all parameters are correct.

Possible Predecessors

train_variation_modeltrain_variation_modelTrainVariationModelTrainVariationModelTrainVariationModeltrain_variation_model

See also

prepare_variation_modelprepare_variation_modelPrepareVariationModelPrepareVariationModelPrepareVariationModelprepare_variation_model, compare_variation_modelcompare_variation_modelCompareVariationModelCompareVariationModelCompareVariationModelcompare_variation_model, compare_ext_variation_modelcompare_ext_variation_modelCompareExtVariationModelCompareExtVariationModelCompareExtVariationModelcompare_ext_variation_model

Module

Matching