Skip to content

set_profile_sheet_of_lightSetProfileSheetOfLightSetProfileSheetOfLightset_profile_sheet_of_lightT_set_profile_sheet_of_light🔗

Short description🔗

set_profile_sheet_of_lightSetProfileSheetOfLightSetProfileSheetOfLightset_profile_sheet_of_lightT_set_profile_sheet_of_light — Set sheet of light profiles by measured disparities.

Signature🔗

set_profile_sheet_of_light( image ProfileDisparityImage, sheet_of_light_model SheetOfLightModelID, number MovementPoses )void SetProfileSheetOfLight( const HObject& ProfileDisparityImage, const HTuple& SheetOfLightModelID, const HTuple& MovementPoses )static void HOperatorSet.SetProfileSheetOfLight( HObject profileDisparityImage, HTuple sheetOfLightModelID, HTuple movementPoses )def set_profile_sheet_of_light( profile_disparity_image: HObject, sheet_of_light_model_id: HHandle, movement_poses: Sequence[Union[int, float]] ) -> None

Herror T_set_profile_sheet_of_light( const Hobject ProfileDisparityImage, const Htuple SheetOfLightModelID, const Htuple MovementPoses )

void HImage::SetProfileSheetOfLight( const HSheetOfLightModel& SheetOfLightModelID, const HTuple& MovementPoses ) const

void HSheetOfLightModel::SetProfileSheetOfLight( const HImage& ProfileDisparityImage, const HTuple& MovementPoses ) const

void HImage.SetProfileSheetOfLight( HSheetOfLightModel sheetOfLightModelID, HTuple movementPoses )

void HSheetOfLightModel.SetProfileSheetOfLight( HImage profileDisparityImage, HTuple movementPoses )

Description🔗

set_profile_sheet_of_lightSetProfileSheetOfLight adds sheet-of-light profiles to the sheet-of-light model SheetOfLightModelIDsheetOfLightModelIDsheet_of_light_model_id. The profiles are specified as rows in a disparity image in ProfileDisparityImageprofileDisparityImageprofile_disparity_image. Each of the profiles can have an individual Pose set in MovementPosesmovementPosesmovement_poses which is interpreted as relative movement to the previous row. If no pose is set, the default transformation is used, which can be set by set_sheet_of_light_paramSetSheetOfLightParam. If only one pose is set, this pose will become the default transformation.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters🔗

ProfileDisparityImageprofileDisparityImageprofile_disparity_image (input_object) singlechannelimage → object (byte / uint2 / real)HObject (byte / uint2 / real)HImage (byte / uint2 / real)HObject (byte / uint2 / real)Hobject (byte / uint2 / real)

Disparity image that contains several profiles.

SheetOfLightModelIDsheetOfLightModelIDsheet_of_light_model_id (input_control, state is modified) sheet_of_light_model → (handle)HTuple (HHandle)HSheetOfLightModel, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the sheet-of-light model.

MovementPosesmovementPosesmovement_poses (input_control) number-array → (integer / real)HTuple (Hlong / double)HTuple (int / long / double)Sequence[Union[int, float]]Htuple (Hlong / double)

Poses describing the movement of the scene under measurement between the previously processed profile image and the current profile image.

Result🔗

The operator set_profile_sheet_of_lightSetProfileSheetOfLight returns the value 2 (H_MSG_TRUE) if the given parameters are correct. Otherwise, an exception will be raised.

Combinations with other operators🔗

Combinations

Possible successors

get_sheet_of_light_resultGetSheetOfLightResult, get_sheet_of_light_result_object_model_3dGetSheetOfLightResultObjectModel3d

See also

query_sheet_of_light_paramsQuerySheetOfLightParams, get_sheet_of_light_paramGetSheetOfLightParam, get_sheet_of_light_resultGetSheetOfLightResult, apply_sheet_of_light_calibrationApplySheetOfLightCalibration

Module🔗

3D Metrology