KlassenKlassenKlassenKlassen | | | | Operatoren

set_deformable_model_paramT_set_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam (Operator)

Name

set_deformable_model_paramT_set_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam — Setzen ausgewählter Parameter eines deformierbaren Modells.

Signatur

set_deformable_model_param( : : ModelID, GenParamNames, GenParamValues : )

Herror T_set_deformable_model_param(const Htuple ModelID, const Htuple GenParamNames, const Htuple GenParamValues)

Herror set_deformable_model_param(const HTuple& ModelID, const HTuple& GenParamNames, const HTuple& GenParamValues)

void HDeformableModel::SetDeformableModelParam(const HTuple& GenParamNames, const HTuple& GenParamValues) const

void SetDeformableModelParam(const HTuple& ModelID, const HTuple& GenParamNames, const HTuple& GenParamValues)

void HDeformableModel::SetDeformableModelParam(const HTuple& GenParamNames, const HTuple& GenParamValues) const

void HOperatorSetX.SetDeformableModelParam(
[in] VARIANT ModelID, [in] VARIANT GenParamNames, [in] VARIANT GenParamValues)

void HDeformableModelX.SetDeformableModelParam(
[in] VARIANT GenParamNames, [in] VARIANT GenParamValues)

static void HOperatorSet.SetDeformableModelParam(HTuple modelID, HTuple genParamNames, HTuple genParamValues)

void HDeformableModel.SetDeformableModelParam(HTuple genParamNames, HTuple genParamValues)

Beschreibung

Der Operator set_deformable_model_paramset_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam setzt ausgewählte Parameter im Modell ModelIDModelIDModelIDModelIDModelIDmodelID. Die folgenden Parameter können modifiziert werden:

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

Setzt im Modell ModelIDModelIDModelIDModelIDModelIDmodelID den minimalen Kontrast des Objekts in den Suchbildern. Damit wird der Wert 'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast""min_contrast", der ursprünglich z.B. mit create_planar_uncalib_deformable_modelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModel gesetzt wurde, überschrieben. Falls das Modell ModelIDModelIDModelIDModelIDModelIDmodelID aus einer Datei eingelesen wurde und diese Datei geändert werden soll, muss das Formmodell ModelIDModelIDModelIDModelIDModelIDmodelID nochmals in die Datei geschrieben werden, nachdem der Operator set_deformable_model_paramset_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam ausgeführt wurde.

'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"

Setzt im Modell ModelIDModelIDModelIDModelIDModelIDmodelID das Koordinatensystem, in dem die Konturen beim Aufruf des Operators get_deformable_model_contoursget_deformable_model_contoursGetDeformableModelContoursget_deformable_model_contoursGetDeformableModelContoursGetDeformableModelContours zurückgegeben werden. Wird als Wert 'world'"world""world""world""world""world" übergeben, so werden die Konturen im Weltkoordinatensystem in metrischem Maß zurückgegeben. Dies ist nur für den kalibrierten Fall möglich. Wird als Wert 'image'"image""image""image""image""image" übergeben, so werden die Konturen im Bildkoordinatensystem im Pixelmaß zurückgeben. Für den kalibrierten Fall handelt es sich dabei um das rektifizierte Bildkoordinatensystem. Das rektifizierte Bildkoordinatensystem entspricht dem Koordinatensystem eines Bildes, das man mit change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImage unter Verwendung der rektifizierten Kameraparameter erhält. Die rektifizierten Kameraparameter lassen sich mit get_deformable_model_paramsget_deformable_model_paramsGetDeformableModelParamsget_deformable_model_paramsGetDeformableModelParamsGetDeformableModelParams abfragen. Falls das Modell mit create_planar_calib_deformable_model_xldcreate_planar_calib_deformable_model_xldCreatePlanarCalibDeformableModelXldcreate_planar_calib_deformable_model_xldCreatePlanarCalibDeformableModelXldCreatePlanarCalibDeformableModelXld erzeugt wurde, ist dieser Wert standardmäßig auf 'world'"world""world""world""world""world" gesetzt, in allen anderen Fällen auf 'image'"image""image""image""image""image".

Parallelisierung

Dieser Operator modifiziert den Zustand des folgenden Eingabeparameters:

Der Wert dieses Parameters darf nicht über mehrere Threads verwendet werden.

Parameter

ModelIDModelIDModelIDModelIDModelIDmodelID (input_control, Zustand wird modifiziert)  deformable_model HDeformableModel, HTupleHTupleHDeformableModel, HTupleHDeformableModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle des Modells.

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

Parameternamen.

Werteliste: '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"

GenParamValuesGenParamValuesGenParamValuesGenParamValuesGenParamValuesgenParamValues (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*)

Parameterwerte.

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

Ergebnis

Sind die Parameterwerte korrekt, dann liefert set_deformable_model_paramset_deformable_model_paramSetDeformableModelParamset_deformable_model_paramSetDeformableModelParamSetDeformableModelParam den Wert 2 (H_MSG_TRUE). Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

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

Nachfolger

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

Siehe auch

get_deformable_model_contoursget_deformable_model_contoursGetDeformableModelContoursget_deformable_model_contoursGetDeformableModelContoursGetDeformableModelContours, get_deformable_model_paramsget_deformable_model_paramsGetDeformableModelParamsget_deformable_model_paramsGetDeformableModelParamsGetDeformableModelParams

Modul

Matching


KlassenKlassenKlassenKlassen | | | | Operatoren