get_stereo_model_image_pairsT_get_stereo_model_image_pairsGetStereoModelImagePairsGetStereoModelImagePairsget_stereo_model_image_pairs (Operator)
Name
get_stereo_model_image_pairsT_get_stereo_model_image_pairsGetStereoModelImagePairsGetStereoModelImagePairsget_stereo_model_image_pairs
— Return the list of image pairs set in a stereo model.
Signature
def get_stereo_model_image_pairs(stereo_model_id: HHandle) -> Tuple[Sequence[int], Sequence[int]]
Description
The operator get_stereo_model_image_pairsget_stereo_model_image_pairsGetStereoModelImagePairsGetStereoModelImagePairsGetStereoModelImagePairsget_stereo_model_image_pairs
returns the list
of image pairs for the stereo model StereoModelIDStereoModelIDStereoModelIDStereoModelIDstereoModelIDstereo_model_id
.
The camera indices of the from and to cameras in
the pairs are returned in the parameters FromFromFromFromfromfrom
and
ToToToTototo
, respectively (the terms "from" and "to" signal that
during reconstruction the disparity "from" one image "to" the other
image of the pair is computed). The indices
identify cameras from the camera setup model assigned to the stereo model
(see create_stereo_modelcreate_stereo_modelCreateStereoModelCreateStereoModelCreateStereoModelcreate_stereo_model
).
The list of image pairs can be set with the operator
set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs
.
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
StereoModelIDStereoModelIDStereoModelIDStereoModelIDstereoModelIDstereo_model_id
(input_control) stereo_model →
HStereoModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the stereo model.
FromFromFromFromfromfrom
(output_control) integer-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Camera indices for the from cameras in the image
pairs.
ToToToTototo
(output_control) integer-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Camera indices for the to cameras in the image
pairs.
Possible Predecessors
set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs
Possible Successors
reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereoReconstructSurfaceStereoreconstruct_surface_stereo
See also
set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs
Module
3D Metrology