set_deformable_model_paramT_set_deformable_model_paramSetDeformableModelParamSetDeformableModelParam (Operator)

Name

set_deformable_model_paramT_set_deformable_model_paramSetDeformableModelParamSetDeformableModelParam — Setzen ausgewählter Parameter eines deformierbaren Modells.

Signatur

set_deformable_model_param( : : ModelID, GenParamName, GenParamValue : )

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

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

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

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

void HDeformableModel.SetDeformableModelParam(HTuple genParamName, HTuple genParamValue)

Beschreibung

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

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

Setzt im Modell ModelIDModelIDModelIDModelIDmodelID den minimalen Kontrast des Objekts in den Suchbildern. Damit wird der Wert 'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast", der ursprünglich z.B. mit create_planar_uncalib_deformable_modelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModel gesetzt wurde, überschrieben. Falls das Modell ModelIDModelIDModelIDModelIDmodelID aus einer Datei eingelesen wurde und diese Datei geändert werden soll, muss das Formmodell ModelIDModelIDModelIDModelIDmodelID nochmals in die Datei geschrieben werden, nachdem der Operator set_deformable_model_paramset_deformable_model_paramSetDeformableModelParamSetDeformableModelParamSetDeformableModelParam 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"

Setzt im Modell ModelIDModelIDModelIDModelIDmodelID das Koordinatensystem, in dem die Konturen beim Aufruf des Operators get_deformable_model_contoursget_deformable_model_contoursGetDeformableModelContoursGetDeformableModelContoursGetDeformableModelContours zurückgegeben werden. Wird als Wert '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" ü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_imageChangeRadialDistortionImageChangeRadialDistortionImageChangeRadialDistortionImage unter Verwendung der rektifizierten Kameraparameter erhält. Die rektifizierten Kameraparameter lassen sich mit get_deformable_model_paramsget_deformable_model_paramsGetDeformableModelParamsGetDeformableModelParamsGetDeformableModelParams abfragen. Falls das Modell mit create_planar_calib_deformable_model_xldcreate_planar_calib_deformable_model_xldCreatePlanarCalibDeformableModelXldCreatePlanarCalibDeformableModelXldCreatePlanarCalibDeformableModelXld erzeugt wurde, ist dieser Wert standardmäßig auf 'world'"world""world""world""world" gesetzt, in allen anderen Fällen auf 'image'"image""image""image""image".

Ausführungsinformationen

Dieser Operator modifiziert den Zustand des folgenden Eingabeparameters:

Während der Ausführung dieses Operators muss der Zugriff auf den Wert dieses Parameters synchronisiert werden, wenn er über mehrere Threads hinweg verwendet wird.

Parameter

ModelIDModelIDModelIDModelIDmodelID (input_control, Zustand wird modifiziert)  deformable_model HDeformableModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle des Modells.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name-array HTupleHTupleHtuple (string) (string) (HString) (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", 'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (input_control)  attribute.value-array HTupleHTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Parameterwerte.

Wertevorschläge: 5, 6, 7, 8, 9, 10, 'image'"image""image""image""image", 'world'"world""world""world""world"

Ergebnis

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

Vorgänger

create_planar_uncalib_deformable_modelcreate_planar_uncalib_deformable_modelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModelCreatePlanarUncalibDeformableModel, create_planar_calib_deformable_modelcreate_planar_calib_deformable_modelCreatePlanarCalibDeformableModelCreatePlanarCalibDeformableModelCreatePlanarCalibDeformableModel, create_local_deformable_modelcreate_local_deformable_modelCreateLocalDeformableModelCreateLocalDeformableModelCreateLocalDeformableModel, read_deformable_modelread_deformable_modelReadDeformableModelReadDeformableModelReadDeformableModel

Nachfolger

find_planar_uncalib_deformable_modelfind_planar_uncalib_deformable_modelFindPlanarUncalibDeformableModelFindPlanarUncalibDeformableModelFindPlanarUncalibDeformableModel, find_planar_calib_deformable_modelfind_planar_calib_deformable_modelFindPlanarCalibDeformableModelFindPlanarCalibDeformableModelFindPlanarCalibDeformableModel

Siehe auch

get_deformable_model_contoursget_deformable_model_contoursGetDeformableModelContoursGetDeformableModelContoursGetDeformableModelContours, get_deformable_model_paramsget_deformable_model_paramsGetDeformableModelParamsGetDeformableModelParamsGetDeformableModelParams

Modul

Matching