KlassenKlassenKlassenKlassen | | | | Operatoren

set_shape_model_paramT_set_shape_model_paramSetShapeModelParamset_shape_model_paramSetShapeModelParamSetShapeModelParam (Operator)

Name

set_shape_model_paramT_set_shape_model_paramSetShapeModelParamset_shape_model_paramSetShapeModelParamSetShapeModelParam — Setzen ausgewählter Formmodellparameter.

Signatur

set_shape_model_param( : : ModelID, GenParamName, GenParamValue : )

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

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

void HShapeModel::SetShapeModelParam(const HTuple& GenParamName, const HTuple& GenParamValue) const

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

void HShapeModel::SetShapeModelParam(const HTuple& GenParamName, const HTuple& GenParamValue) const

static void HImage::SetShapeModelParam(const HShapeModel& ModelID, const HTuple& GenParamName, const HTuple& GenParamValue)

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

void HShapeModelX.SetShapeModelParam(
[in] VARIANT GenParamName, [in] VARIANT GenParamValue)

void HImageX.SetShapeModelParam(
[in] IHShapeModelX* ModelID, [in] VARIANT GenParamName, [in] VARIANT GenParamValue)

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

void HShapeModel.SetShapeModelParam(HTuple genParamName, HTuple genParamValue)

static void HImage.SetShapeModelParam(HShapeModel modelID, HTuple genParamName, HTuple genParamValue)

Beschreibung

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

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

Setzt im Formmodell 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_shape_modelcreate_shape_modelCreateShapeModelcreate_shape_modelCreateShapeModelCreateShapeModel gesetzt wurde, überschrieben. Falls das Formmodell 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_shape_model_paramset_shape_model_paramSetShapeModelParamset_shape_model_paramSetShapeModelParamSetShapeModelParam ausgeführt wurde.

'timeout'"timeout""timeout""timeout""timeout""timeout"

Setzt die maximale Laufzeit der Operatoren die verwendet werden um das Formmodell ModelIDModelIDModelIDModelIDModelIDmodelID zu finden (z.B. find_shape_modelfind_shape_modelFindShapeModelfind_shape_modelFindShapeModelFindShapeModel). Dies ist dann besonders nützlich, wenn eine maximale Zykluszeit sichergestellt werden muss. Der 'timeout'"timeout""timeout""timeout""timeout""timeout" muss in Millisekunden angegeben werden. Die zeitliche Genauigkeit des Timeouts hängt von vielen Faktoren ab, darunter ist die Größe des Modells, die Geschwindigkeit des Rechners und der 'timer_mode'"timer_mode""timer_mode""timer_mode""timer_mode""timer_mode" der über set_systemset_systemSetSystemset_systemSetSystemSetSystem gesetzt wurde. Beachten Sie, dass sich die Laufzeit der Modellsuche bei aktiviertem Timeout um bis zu 10 Prozent erhöht. Um den Timeout zu deaktivieren, können Sie entweder einen negativen Wert oder 'false'"false""false""false""false""false" angeben.

'border_shape_models'"border_shape_models""border_shape_models""border_shape_models""border_shape_models""border_shape_models"

Legt für die Operatoren, die verwendet werden um das Formmodell ModelIDModelIDModelIDModelIDModelIDmodelID zu finden (z.B. find_shape_modelfind_shape_modelFindShapeModelfind_shape_modelFindShapeModelFindShapeModel), fest, ob die gesuchten Modelle teilweise außerhalb des Bildes liegen dürfen (also den Bildrand überschreiten dürfen). Der Wert von 'border_shape_models'"border_shape_models""border_shape_models""border_shape_models""border_shape_models""border_shape_models" ist entweder 'true'"true""true""true""true""true", 'false'"false""false""false""false""false" oder 'system'"system""system""system""system""system". Wenn der Wert auf den Standardwert 'system'"system""system""system""system""system" gesetzt ist, wird der systemweite Wert verwendet, der zuletzt mit set_systemset_systemSetSystemset_systemSetSystemSetSystem für 'border_shape_models'"border_shape_models""border_shape_models""border_shape_models""border_shape_models""border_shape_models" gesetzt wurde.

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)  shape_model HShapeModel, HTupleHTupleHShapeModel, HTupleHShapeModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle des Modells.

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

Parameternamen.

Werteliste: 'border_shape_models'"border_shape_models""border_shape_models""border_shape_models""border_shape_models""border_shape_models", 'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast""min_contrast", 'timeout'"timeout""timeout""timeout""timeout""timeout"

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

Parameterwerte.

Werteliste: 'false'"false""false""false""false""false", 'system'"system""system""system""system""system", 'true'"true""true""true""true""true"

Ergebnis

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

Vorgänger

create_shape_model_xldcreate_shape_model_xldCreateShapeModelXldcreate_shape_model_xldCreateShapeModelXldCreateShapeModelXld, create_scaled_shape_model_xldcreate_scaled_shape_model_xldCreateScaledShapeModelXldcreate_scaled_shape_model_xldCreateScaledShapeModelXldCreateScaledShapeModelXld, create_aniso_shape_model_xldcreate_aniso_shape_model_xldCreateAnisoShapeModelXldcreate_aniso_shape_model_xldCreateAnisoShapeModelXldCreateAnisoShapeModelXld

Nachfolger

find_shape_modelfind_shape_modelFindShapeModelfind_shape_modelFindShapeModelFindShapeModel, find_scaled_shape_modelfind_scaled_shape_modelFindScaledShapeModelfind_scaled_shape_modelFindScaledShapeModelFindScaledShapeModel, find_aniso_shape_modelfind_aniso_shape_modelFindAnisoShapeModelfind_aniso_shape_modelFindAnisoShapeModelFindAnisoShapeModel

Siehe auch

create_shape_model_xldcreate_shape_model_xldCreateShapeModelXldcreate_shape_model_xldCreateShapeModelXldCreateShapeModelXld, create_scaled_shape_model_xldcreate_scaled_shape_model_xldCreateScaledShapeModelXldcreate_scaled_shape_model_xldCreateScaledShapeModelXldCreateScaledShapeModelXld, create_aniso_shape_model_xldcreate_aniso_shape_model_xldCreateAnisoShapeModelXldcreate_aniso_shape_model_xldCreateAnisoShapeModelXldCreateAnisoShapeModelXld

Modul

Matching


KlassenKlassenKlassenKlassen | | | | Operatoren