create_stereo_model — Create a HALCON stereo model.
The operator create_stereo_model creates a HALCON stereo model and returns a handle to it in StereoModelID. The model provides functionality for reconstructing either 3D points or surfaces from a calibrated multi-view stereo camera setup specified in CameraSetupModelID (refer to calibrate_cameras for further details on calibration of multiple cameras).
For Method='points_3d', a stereo model is created that, after being configured, can be passed to reconstruct_points_stereo. The latter reconstructs 3D points by intersecting lines of sight from point correspondences, extracted from multiple calibrated images (see reconstruct_points_stereo for more details).
For Method='surface_pairwise', a stereo model is created that, after being configured, can be passed to reconstruct_surface_stereo. The latter obtains disparity images from preselected image pairs in a calibrated multi-view stereo setup and fuses the collected 3D information in a single surface reconstruction (see reconstruct_surface_stereo for more details).
The parameters GenParamName and GenParamValue can be used to set general model parameters. Alternatively, these parameters can be modified with the operator set_stereo_model_param before the corresponding reconstruction operator is called (see set_stereo_model_param for more details on the available model parameters).
When the model is no more needed, you should release its memory by clear_stereo_model.
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.
Handle to the camera setup model.
Default value: 'surface_pairwise'
List of values: 'points_3d', 'surface_pairwise'
Name of the model parameter to be set.
Default value: 
List of values: 'binocular_filter', 'binocular_mask_height', 'binocular_mask_width', 'binocular_method', 'binocular_num_levels', 'binocular_score_thresh', 'binocular_sub_disparity', 'binocular_texture_thresh', 'bounding_box', 'disparity_method', 'persistence', 'rectif_interpolation', 'sub_sampling_step'
Value of the model parameter to be set.
Default value: 
Suggested values: 'ncc'
Handle of the stereo model.
set_stereo_model_param, set_stereo_model_image_pairs, reconstruct_surface_stereo, reconstruct_points_stereo