read_deformable_surface_model — Read a deformable surface model from a file.
The operator read_deformable_surface_model reads the deformable surface model, which has been written with write_deformable_surface_model, from the file FileName. The handle of the deformable surface model is returned in DeformableSurfaceModel. If no absolute path is given in FileName, the file is searched in the current directory of the HALCON process. The default HALCON file extension for the deformable surface model file is 'dsfm'. If no file named FileName exists, the default file extension is appended to FileName.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Name of the file to read.
File extension: .dsfm
Handle of the read deformable surface model.
read_deformable_surface_model returns 2 (H_MSG_TRUE) if all parameters are correct and the file can be read. If the file is not a deformable surface model file, the error 9506 is raised. If the file has a version that can not be read by this version of HALCON, the error 9507 is raised. If necessary, an exception is raised.
find_deformable_surface_model, refine_deformable_surface_model, get_deformable_surface_model_param, clear_deformable_surface_model