Operator Reference
write_sheet_of_light_model (Operator)
write_sheet_of_light_model — Write a sheet-of-light model to a file.
Signature
write_sheet_of_light_model( : : SheetOfLightModelID, FileName : )
Description
The operator write_sheet_of_light_model writes the sheet-of-light
model SheetOfLightModelID to the file FileName. The model
can be read again with read_sheet_of_light_model.
The stored data contains all generic model parameters
(see set_sheet_of_light_param) and the results of
calibrate_sheet_of_light.
The default HALCON file extension for sheet-of-light model is 'solm'.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
SheetOfLightModelID (input_control) sheet_of_light_model → (handle)
Handle of the sheet-of-light model.
FileName (input_control) filename.write → (string)
Name of the sheet-of-light model file.
Default: 'sheet_of_light_model.solm'
File extension:
.solm
Result
The operator write_sheet_of_light_model returns the value 2 (
H_MSG_TRUE)
if the passed handle is valid and if the model can be written into
the named file.
Otherwise, an exception is raised.
Possible Predecessors
create_sheet_of_light_model,
set_sheet_of_light_param
See also
Module
3D Metrology