Mouseover text to see original. Click the button below to return to the English version of the page.
Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.
Translate This Page
MathWorks Machine Translation
The automated translation of this page is provided by a general purpose third party translator tool.
MathWorks does not warrant, and disclaims all liability for, the accuracy, suitability, or fitness for purpose of the translation.
stereoAnaglyph
Create red-cyan anaglyph from stereo pair of images
J = stereoAnaglyph(I1,I2) combines
images I1 and I2 into a
red-cyan anaglyph. When the inputs are rectified stereo images, you
can view the output image with red-blue stereo glasses to see the
stereo effect.
Input image I1, specified as an M-by-N-by-3
truecolor image or an M-by-N 2-D grayscale
image. I1 and I2 must be
real, finite, and nonsparse, and the images must be the same size.
If the images are not the same size, use imfuse to
pad the smaller image dimension with zeros before creating the anaglyph.
Data Types: single | double | int16 | uint8 | uint16 | logical
Input image I2, specified as an M-by-N-by-3
truecolor image or an M-by-N 2-D grayscale
image. I1 and I2 must be
real, finite, and nonsparse, and the images must be the same size.
If the images are not the same size, use imfuse to
pad the smaller image dimension with zeros before creating the anaglyph.
Data Types: single | double | int16 | uint8 | uint16 | logical
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.