get_sheet_of_light_resultT_get_sheet_of_light_resultGetSheetOfLightResultGetSheetOfLightResultget_sheet_of_light_result (算子)

名称

get_sheet_of_light_resultT_get_sheet_of_light_resultGetSheetOfLightResultGetSheetOfLightResultget_sheet_of_light_result — 获取使用激光三角测量技术进行测量的图标结果。

签名

get_sheet_of_light_result( : ResultValue : SheetOfLightModelID, ResultName : )

Herror T_get_sheet_of_light_result(Hobject* ResultValue, const Htuple SheetOfLightModelID, const Htuple ResultName)

void GetSheetOfLightResult(HObject* ResultValue, const HTuple& SheetOfLightModelID, const HTuple& ResultName)

void HImage::GetSheetOfLightResult(const HSheetOfLightModel& SheetOfLightModelID, const HTuple& ResultName)

void HImage::GetSheetOfLightResult(const HSheetOfLightModel& SheetOfLightModelID, const HString& ResultName)

void HImage::GetSheetOfLightResult(const HSheetOfLightModel& SheetOfLightModelID, const char* ResultName)

void HImage::GetSheetOfLightResult(const HSheetOfLightModel& SheetOfLightModelID, const wchar_t* ResultName)   ( Windows only)

HImage HSheetOfLightModel::GetSheetOfLightResult(const HTuple& ResultName) const

HImage HSheetOfLightModel::GetSheetOfLightResult(const HString& ResultName) const

HImage HSheetOfLightModel::GetSheetOfLightResult(const char* ResultName) const

HImage HSheetOfLightModel::GetSheetOfLightResult(const wchar_t* ResultName) const   ( Windows only)

static void HOperatorSet.GetSheetOfLightResult(out HObject resultValue, HTuple sheetOfLightModelID, HTuple resultName)

void HImage.GetSheetOfLightResult(HSheetOfLightModel sheetOfLightModelID, HTuple resultName)

void HImage.GetSheetOfLightResult(HSheetOfLightModel sheetOfLightModelID, string resultName)

HImage HSheetOfLightModel.GetSheetOfLightResult(HTuple resultName)

HImage HSheetOfLightModel.GetSheetOfLightResult(string resultName)

def get_sheet_of_light_result(sheet_of_light_model_id: HHandle, result_name: MaybeSequence[str]) -> HObject

描述

算子 get_sheet_of_light_resultget_sheet_of_light_resultGetSheetOfLightResultGetSheetOfLightResultGetSheetOfLightResultget_sheet_of_light_result provides access to the results of the calibrated and uncalibrated measurements performed with a given sheet-of-light model. The different kinds of results can be selected by setting the value of the parameter ResultNameResultNameResultNameResultNameresultNameresult_name as described below:

Non-calibrated results:

'disparity'"disparity""disparity""disparity""disparity""disparity"

the measured disparity i.e., the subpixel row value at which the profile was detected is returned for each pixel. The disparity values can be considered as non-calibrated pseudo-range values.

'score'"score""score""score""score""score"

the score values computed according to the value of the parameter 'score_type'"score_type""score_type""score_type""score_type""score_type" is returned. If the parameter 'score_type'"score_type""score_type""score_type""score_type""score_type" has been set to 'none'"none""none""none""none""none", no score value is computed during the measurement, therefore the returned image is empty. Refer to create_sheet_of_light_modelcreate_sheet_of_light_modelCreateSheetOfLightModelCreateSheetOfLightModelCreateSheetOfLightModelcreate_sheet_of_light_model and set_sheet_of_light_paramset_sheet_of_light_paramSetSheetOfLightParamSetSheetOfLightParamSetSheetOfLightParamset_sheet_of_light_param for details on the possible values of the model parameter 'score_type'"score_type""score_type""score_type""score_type""score_type".

Calibrated results:

'x'"x""x""x""x""x"

The calibrated X-coordinates of the reconstructed surface is returned as an image.

'y'"y""y""y""y""y"

The calibrated Y-coordinates of the reconstructed surface is returned as an image.

'z'"z""z""z""z""z"

The calibrated Z-coordinates of the reconstructed surface is returned as an image.

Please, note that the pixel values of the images returned when setting ResultNameResultNameResultNameResultNameresultNameresult_name to 'X'"X""X""X""X""X", 'Y'"Y""Y""Y""Y""Y" or 'Z'"Z""Z""Z""Z""Z" have the semantic of coordinates with respect to the world coordinate system that is implicitly defined during the calibration of the system. The unit of the returned coordinates depends on the value of the parameter 'scale'"scale""scale""scale""scale""scale". (see create_sheet_of_light_modelcreate_sheet_of_light_modelCreateSheetOfLightModelCreateSheetOfLightModelCreateSheetOfLightModelcreate_sheet_of_light_model and set_sheet_of_light_paramset_sheet_of_light_paramSetSheetOfLightParamSetSheetOfLightParamSetSheetOfLightParamset_sheet_of_light_param for details on the possible values of the model parameter 'scale'"scale""scale""scale""scale""scale".)

算子 get_sheet_of_light_resultget_sheet_of_light_resultGetSheetOfLightResultGetSheetOfLightResultGetSheetOfLightResultget_sheet_of_light_result returns an empty object if the desired result has not been computed.

执行信息

参数

ResultValueResultValueResultValueResultValueresultValueresult_value (输出对象)  singlechannelimage objectHImageHObjectHImageHobject * (real)

Desired measurement result.

SheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDsheetOfLightModelIDsheet_of_light_model_id (输入控制)  sheet_of_light_model HSheetOfLightModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the sheet-of-light model to be used.

ResultNameResultNameResultNameResultNameresultNameresult_name (输入控制)  string(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Specify which result of the measurement shall be provided.

默认值: 'disparity' "disparity" "disparity" "disparity" "disparity" "disparity"

值列表: 'disparity'"disparity""disparity""disparity""disparity""disparity", 'score'"score""score""score""score""score", 'x'"x""x""x""x""x", 'y'"y""y""y""y""y", 'z'"z""z""z""z""z"

结果

算子 get_sheet_of_light_resultget_sheet_of_light_resultGetSheetOfLightResultGetSheetOfLightResultGetSheetOfLightResultget_sheet_of_light_result 在给定的参数正确时返回值 2 ( H_MSG_TRUE )。否则,将抛出异常。

模块

三维计量