get_stereo_model_object — Get intermediate iconic results of a stereo reconstruction.
With the operator
get_stereo_model_object you can
access and inspect intermediate iconic results of a surface
reconstruction performed with
the the stereo model
StereoModelID. In particular, this is
useful for troubleshooting the reconstruction process.
Note that to collect the
iconic results, you must enable the 'persistence' mode for
the stereo model (see
performing the reconstruction.
Iconic results are then associated with each image pair that was
processed during the reconstruction (see
You select the image pair of interest by specifying the
corresponding camera indices
[From, To] in
By setting one of the following values in
the corresponding iconic objects are then returned in
Rectified image corresponding to the from and to camera, respectively. Both images can be used to inspect the quality of the internal binocular stereo image rectification.
Disparity image for this pair. The quality of the disparity image has a direct impact on the final surface reconstruction.
Score image assigned to the disparity image for this pair.
A mismatch between the rectified images, i.e., features appearing in
different rows in the two images, or errors in the disparity or the
score image have direct impact on the quality of the final surface
reconstruction. Therefore, we recommend to correct any detected
imperfections by adjusting the stereo model parameters (see
set_stereo_model_param), in particular those which control
the internal usage of
reconstruct_surface_stereo for further details).
Handle of the stereo model.
→(integer / string / real)
Camera indices of the pair (
Suggested values: 0, 1, 2
Name of the iconic result to be returned.
Suggested values: 'from_image_rect', 'to_image_rect', 'disparity_image', 'score_image'