get_sheet_of_light_result — 获取使用激光三角测量技术进行测量的图标结果。
get_sheet_of_light_result( : ResultValue : SheetOfLightModelID, ResultName : )
算子 get_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 ResultName
as described below:
Non-calibrated results:
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.
the score values computed according to the value of the parameter
'score_type' is returned. If the parameter
'score_type' has been set to 'none', no score
value is computed during the measurement, therefore the returned
image is empty. Refer to create_sheet_of_light_model and
set_sheet_of_light_param for details on the possible
values of the model parameter 'score_type'.
Calibrated results:
The calibrated X-coordinates of the reconstructed surface is returned as an image.
The calibrated Y-coordinates of the reconstructed surface is returned as an image.
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
ResultName to 'X', 'Y' or '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'. (see create_sheet_of_light_model
and set_sheet_of_light_param for details on the possible
values of the model parameter 'scale'.)
算子 get_sheet_of_light_result returns an empty object
if the desired result has not been computed.
ResultValue (输出对象) singlechannelimage → object (real)
Desired measurement result.
SheetOfLightModelID (输入控制) sheet_of_light_model → (handle)
Handle of the sheet-of-light model to be used.
ResultName (输入控制) string(-array) → (string)
Specify which result of the measurement shall be provided.
默认值: 'disparity'
值列表: 'disparity', 'score', 'x', 'y', 'z'
算子 get_sheet_of_light_result 在给定的参数正确时返回值 2 ( H_MSG_TRUE )。否则,将抛出异常。
三维计量