get_stereo_model_image_pairsT_get_stereo_model_image_pairsGetStereoModelImagePairsGetStereoModelImagePairsget_stereo_model_image_pairs (算子)
名称
get_stereo_model_image_pairsT_get_stereo_model_image_pairsGetStereoModelImagePairsGetStereoModelImagePairsget_stereo_model_image_pairs — 返回在立体模型中设置的图像对列表。
签名
def get_stereo_model_image_pairs(stereo_model_id: HHandle) -> Tuple[Sequence[int], Sequence[int]]
描述
算子 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。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
StereoModelIDStereoModelIDStereoModelIDStereoModelIDstereoModelIDstereo_model_id (输入控制) stereo_model → HStereoModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the stereo model.
FromFromFromFromfromfrom (输出控制) integer-array → HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Camera indices for the from cameras in the image
pairs.
ToToToTototo (输出控制) integer-array → HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Camera indices for the to cameras in the image
pairs.
可能的前趋
set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs
可能的后继
reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereoReconstructSurfaceStereoreconstruct_surface_stereo
另见
set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs
模块
三维计量