machinevisiontoolbox.Image.stdisp
- Image.stdisp(right)
Interactive display of stereo image pair
- Parameters:
right (
Image
) – right image
The left and right images are displayed, stacked horizontally. Clicking in the left-hand image sets a crosshair cursor in the right-hand image. Clicking the corresponding point in the right-hand image will display the disparity at the top of the right-hand image.
Example:
>>> from machinevisiontoolbox import Image >>> left = Image.Read("rocks2-l.png", reduce=2) >>> right = Image.Read("rocks2-r.png", reduce=2) >>> left.stdisp(right)
(
Source code
,png
,hires.png
,pdf
)- Note:
The images are assumed to be epipolar aligned.
- Reference:
Robotics, Vision & Control for Python, Section 14.4, P. Corke, Springer 2023.
- Seealso: