Operator Reference

get_stereo_model_image_pairsT_get_stereo_model_image_pairsGetStereoModelImagePairsGetStereoModelImagePairsget_stereo_model_image_pairs (Operator)

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

get_stereo_model_image_pairs( : : StereoModelID : From, To)

Herror T_get_stereo_model_image_pairs(const Htuple StereoModelID, Htuple* From, Htuple* To)

void GetStereoModelImagePairs(const HTuple& StereoModelID, HTuple* From, HTuple* To)

HTuple HStereoModel::GetStereoModelImagePairs(HTuple* To) const

static void HOperatorSet.GetStereoModelImagePairs(HTuple stereoModelID, out HTuple from, out HTuple to)

HTuple HStereoModel.GetStereoModelImagePairs(out HTuple to)

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_pairsGetStereoModelImagePairsGetStereoModelImagePairsget_stereo_model_image_pairs returns the list of image pairs for the stereo model StereoModelIDStereoModelIDStereoModelIDstereoModelIDstereo_model_id. The camera indices of the from and to cameras in the pairs are returned in the parameters FromFromFromfromfrom and ToToTototo, 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_modelCreateStereoModelCreateStereoModelcreate_stereo_model).

The list of image pairs can be set with the operator set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsset_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

StereoModelIDStereoModelIDStereoModelIDstereoModelIDstereo_model_id (input_control)  stereo_model HStereoModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the stereo model.

FromFromFromfromfrom (output_control)  integer-array HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Camera indices for the from cameras in the image pairs.

ToToTototo (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_pairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs

Possible Successors

reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereoreconstruct_surface_stereo

See also

set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs

Module

3D Metrology