ClassesClassesClassesClasses | | | | Operators

set_deformable_model_paramT_set_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam (Operator)

Name

set_deformable_model_paramT_set_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam — Set selected parameters of the deformable model.

Signature

set_deformable_model_param( : : ModelID, GenParamName, GenParamValue : )

Herror T_set_deformable_model_param(const Htuple ModelID, const Htuple GenParamName, const Htuple GenParamValue)

Herror set_deformable_model_param(const HTuple& ModelID, const HTuple& GenParamName, const HTuple& GenParamValue)

void HDeformableModel::SetDeformableModelParam(const HTuple& GenParamName, const HTuple& GenParamValue) const

void SetDeformableModelParam(const HTuple& ModelID, const HTuple& GenParamName, const HTuple& GenParamValue)

void HDeformableModel::SetDeformableModelParam(const HTuple& GenParamName, const HTuple& GenParamValue) const

void HOperatorSetX.SetDeformableModelParam(
[in] VARIANT ModelID, [in] VARIANT GenParamName, [in] VARIANT GenParamValue)

void HDeformableModelX.SetDeformableModelParam(
[in] VARIANT GenParamName, [in] VARIANT GenParamValue)

static void HOperatorSet.SetDeformableModelParam(HTuple modelID, HTuple genParamName, HTuple genParamValue)

void HDeformableModel.SetDeformableModelParam(HTuple genParamName, HTuple genParamValue)

Description

The operator set_deformable_model_paramset_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam sets the selected parameters GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName in the deformable model ModelIDModelIDModelIDModelIDModelIDmodelID. The following parameters can be modified:

'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast""min_contrast"

Sets the minimum contrast of the object in the search images for the deformable model ModelIDModelIDModelIDModelIDModelIDmodelID. Thereby, the value of 'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast""min_contrast" that was originally set, e.g., with create_planar_uncalib_deformable_modelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModel, is overwritten for the deformable model ModelIDModelIDModelIDModelIDModelIDmodelID. Note that if the deformable model ModelIDModelIDModelIDModelIDModelIDmodelID was read from file and if this file should be changed as well, the deformable model ModelIDModelIDModelIDModelIDModelIDmodelID must again be written to file after the execution of the operator set_deformable_model_paramset_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam.

'get_deformable_model_contours_coord_system'"get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system"

Sets the coordinate system in which the contours are returned when calling the operator get_deformable_model_contoursget_deformable_model_contoursGetDeformableModelContoursget_deformable_model_contoursGetDeformableModelContoursGetDeformableModelContours. If 'world'"world""world""world""world""world" is passed, the contours are returned in the world coordinate system in metric units. Note that this is only possible for the calibrated case. If 'image'"image""image""image""image""image" is passed, the contours are returned in the image coordinate system in pixel units. In the calibrated case this system corresponds to the rectified image coordinate system. The rectified image coordinate system is the coordinate system of an image one would obtain by change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImage when using the rectified camera parameters. The rectified camera parameters can be queried by get_deformable_model_paramsget_deformable_model_paramsGetDeformableModelParamsget_deformable_model_paramsGetDeformableModelParamsGetDeformableModelParams. If the model was created by create_planar_calib_deformable_model_xldcreate_planar_calib_deformable_model_xldCreatePlanarCalibDeformableModelXldcreate_planar_calib_deformable_model_xldCreatePlanarCalibDeformableModelXldCreatePlanarCalibDeformableModelXld the value of 'get_deformable_model_contours_coord_system'"get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system" is 'world'"world""world""world""world""world" by default. In all other cases it is 'image'"image""image""image""image""image" by default.

Parallelization

This operator modifies the state of the following input parameter:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

ModelIDModelIDModelIDModelIDModelIDmodelID (input_control, state is modified)  deformable_model HDeformableModel, HTupleHTupleHDeformableModel, HTupleHDeformableModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the model.

GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name-array HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Parameter names.

List of values: 'get_deformable_model_contours_coord_system'"get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system""get_deformable_model_contours_coord_system", 'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast""min_contrast"

GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (input_control)  attribute.value-array HTupleHTupleHTupleVARIANTHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*) (double / Hlong / BSTR) (double / Hlong / char*)

Parameter values.

Suggested values: 5, 6, 7, 8, 9, 10, 'image'"image""image""image""image""image", 'world'"world""world""world""world""world"

Result

If the parameters are valid, the operator set_deformable_model_paramset_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

create_planar_uncalib_deformable_modelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModel, create_planar_calib_deformable_modelcreate_planar_calib_deformable_modelCreatePlanarCalibDeformableModelcreate_planar_calib_deformable_modelCreatePlanarCalibDeformableModelCreatePlanarCalibDeformableModel, create_local_deformable_modelcreate_local_deformable_modelCreateLocalDeformableModelcreate_local_deformable_modelCreateLocalDeformableModelCreateLocalDeformableModel, read_deformable_modelread_deformable_modelReadDeformableModelread_deformable_modelReadDeformableModelReadDeformableModel

Possible Successors

find_planar_uncalib_deformable_modelfind_planar_uncalib_deformable_modelFindPlanarUncalibDeformableModelfind_planar_uncalib_deformable_modelFindPlanarUncalibDeformableModelFindPlanarUncalibDeformableModel, find_planar_calib_deformable_modelfind_planar_calib_deformable_modelFindPlanarCalibDeformableModelfind_planar_calib_deformable_modelFindPlanarCalibDeformableModelFindPlanarCalibDeformableModel

See also

get_deformable_model_contoursget_deformable_model_contoursGetDeformableModelContoursget_deformable_model_contoursGetDeformableModelContoursGetDeformableModelContours, get_deformable_model_paramsget_deformable_model_paramsGetDeformableModelParamsget_deformable_model_paramsGetDeformableModelParamsGetDeformableModelParams

Module

Matching


ClassesClassesClassesClasses | | | | Operators