get_structured_light_model_paramT_get_structured_light_model_paramGetStructuredLightModelParamGetStructuredLightModelParam (Operator)

Name

get_structured_light_model_paramT_get_structured_light_model_paramGetStructuredLightModelParamGetStructuredLightModelParam — Abfragen von Parametern eines Modells für strukturiertes Licht.

Signatur

get_structured_light_model_param( : : StructuredLightModel, GenParamName : GenParamValue)

Herror T_get_structured_light_model_param(const Htuple StructuredLightModel, const Htuple GenParamName, Htuple* GenParamValue)

void GetStructuredLightModelParam(const HTuple& StructuredLightModel, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HStructuredLightModel::GetStructuredLightModelParam(const HTuple& GenParamName) const

HTuple HStructuredLightModel::GetStructuredLightModelParam(const HString& GenParamName) const

HTuple HStructuredLightModel::GetStructuredLightModelParam(const char* GenParamName) const

HTuple HStructuredLightModel::GetStructuredLightModelParam(const wchar_t* GenParamName) const   (Nur Windows)

static void HOperatorSet.GetStructuredLightModelParam(HTuple structuredLightModel, HTuple genParamName, out HTuple genParamValue)

HTuple HStructuredLightModel.GetStructuredLightModelParam(HTuple genParamName)

HTuple HStructuredLightModel.GetStructuredLightModelParam(string genParamName)

Beschreibung

Der Operator get_structured_light_model_paramget_structured_light_model_paramGetStructuredLightModelParamGetStructuredLightModelParamGetStructuredLightModelParam wird verwendet, um verschiedene Parameter eines Modells für strukturiertes Licht (StructuredLightModelStructuredLightModelStructuredLightModelStructuredLightModelstructuredLightModel) abzufragen. Die Namen der gewünschten Parameter werden in GenParamNameGenParamNameGenParamNameGenParamNamegenParamName übergeben und die entsprechenden Werte werden in GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue zurückgegeben. Es ist möglich, mehrere Parameter mit einem einzigen Aufruf des Operators get_structured_light_model_paramget_structured_light_model_paramGetStructuredLightModelParamGetStructuredLightModelParamGetStructuredLightModelParam abzufragen. Dabei können alle Parameter, die sich mit set_structured_light_model_paramset_structured_light_model_paramSetStructuredLightModelParamSetStructuredLightModelParamSetStructuredLightModelParam manipulieren lassen, abgefragt werden. Erläuterungen zu den individuellen Parametern finden sich in der Dokumentation zu set_structured_light_model_paramset_structured_light_model_paramSetStructuredLightModelParamSetStructuredLightModelParamSetStructuredLightModelParam.

Ausführungsinformationen

Parameter

StructuredLightModelStructuredLightModelStructuredLightModelStructuredLightModelstructuredLightModel (input_control)  structured_light_model HStructuredLightModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle des Modells für strukturiertes Licht.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Name des abgefragten Modellparameters.

Defaultwert: 'min_stripe_width' "min_stripe_width" "min_stripe_width" "min_stripe_width" "min_stripe_width"

Werteliste: 'derivative_sigma'"derivative_sigma""derivative_sigma""derivative_sigma""derivative_sigma", 'min_gray_difference'"min_gray_difference""min_gray_difference""min_gray_difference""min_gray_difference", 'min_stripe_width'"min_stripe_width""min_stripe_width""min_stripe_width""min_stripe_width", 'normalization'"normalization""normalization""normalization""normalization", 'pattern_height'"pattern_height""pattern_height""pattern_height""pattern_height", 'pattern_orientation'"pattern_orientation""pattern_orientation""pattern_orientation""pattern_orientation", 'pattern_type'"pattern_type""pattern_type""pattern_type""pattern_type", 'pattern_width'"pattern_width""pattern_width""pattern_width""pattern_width", 'persistence'"persistence""persistence""persistence""persistence", 'single_stripe_width'"single_stripe_width""single_stripe_width""single_stripe_width""single_stripe_width"

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

Wert des abgefragten Modellparameters.

Beispiel (HDevelop)

* Create the model
create_structured_light_model ('deflectometry', StructuredLightModel)
* Get the default value
get_structured_light_model_param (StructuredLightModel, \
                                  'min_stripe_width', Default)
* Set the value  
set_structured_light_model_param (StructuredLightModel, \
                                  'min_stripe_width', 64)
* Get the value
get_structured_light_model_param (StructuredLightModel, 'min_stripe_width', \
                                  MinStripeWidth)  
* Generate the patterns to project
gen_structured_light_pattern (PatternImages, StructuredLightModel)
* Decode the camera images
decode_structured_light_pattern (CameraImages, StructuredLightModel)

Ergebnis

Der Operator get_structured_light_model_paramget_structured_light_model_paramGetStructuredLightModelParamGetStructuredLightModelParamGetStructuredLightModelParam gibt 2 (H_MSG_TRUE) zurück, sofern alle Parameter korrekt sind. Andernfalls wird eine Fehlerbehandlung ausgelöst.

Vorgänger

create_structured_light_modelcreate_structured_light_modelCreateStructuredLightModelCreateStructuredLightModelCreateStructuredLightModel

Siehe auch

set_structured_light_model_paramset_structured_light_model_paramSetStructuredLightModelParamSetStructuredLightModelParamSetStructuredLightModelParam

Modul

3D Metrology