anaglyph - ver 2.0

anaglyph('filename') displays an anaglyph obtained by two stereoscopical images.
3.7K 次下载
更新时间 2006/11/6

查看许可证

ANAGLYPH - displays an anaglyph obtained by two stereoscopical images

anaglyph with no arguments, opens a dialog to pick an image which contains
two stereoscopical images in a single image file.

anaglyph('filename') displays an anaglyph of the image "filename"
(with extension), which contains two stereoscopical images in a single
image file (bmp, jpg, or other supported image type).

anaglyph('filename1', 'filename2') displays an anaglyph from the two images
"filename1", "filename2" (with extension) one for the right eye and one for the left one.

anaglyph(A) displays an anaglyph of the image A, in memory, which contains two stereoscopical images in a single image
file (bmp, jpg, or other supported image type).

anaglyph(A,B) displays an anaglyph from the two images A and B, in memory,
(with extension) one for the right eye and one for the left one.

Inputs: one or two names of image files or of matlab variables

Outputs (optional):
the figure handle to the anaglyph

Notes:
One can swap the two images during the visualization.

Version 2.0 NEWS
- now plots also images in memory
- with no args, opens a dialog to choose image
- zoom function

Example:
anaglyph('foto3d.bmp')

Other m-files required: none
Subfunctions: plotAnaglyph, swap
MAT-files required: none

See also: stereoview

Author: Iari-Gabriel Marino, Ph.D., nonlinear optics
University of Parma, Dept. of Physics, ITALY
email address: iarigabriel.marino@fis.unipr.it
Website: http://www.fis.unipr.it/raman/index2.htm
Personal: http://www.fis.unipr.it/home/marino/
November 2006; Last revision: 6-Nov-2006

引用格式

Iari-Gabriel Marino (2024). anaglyph - ver 2.0 (https://www.mathworks.com/matlabcentral/fileexchange/4977-anaglyph-ver-2-0), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Version 2.0 NEWS
- now plots also images in memory
- with no args, opens a dialog to choose the image
- zoom function