Code covered by the BSD License  

Highlights from
anaglyph - ver 2.0

3.0

3.0 | 2 ratings Rate this file 14 Downloads (last 30 days) File Size: 2.54 KB File ID: #4977
image thumbnail

anaglyph - ver 2.0

by Iari-Gabriel Marino

 

21 May 2004 (Updated 06 Nov 2006)

anaglyph('filename') displays an anaglyph obtained by two stereoscopical images.

| Watch this File

File Information
Description

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

MATLAB release MATLAB 6.0 (R12)
Other requirements Tested on WinXP
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
05 Jun 2006 Brett Shoelson

Hi Iari,
Your code is nice an succinct; it would benefit from expanded support for inputs...an interface to select images, working with images already in the workspace, etc. Also, please modify the keyword field to include 'stereo.' I'd bet you will see a lot more action on this nice file.

05 Jun 2008 Brett Bathel

The code is very limited in terms of inputs. Has anyone else written a better code?

Please login to add a comment or rating.
Updates
06 Nov 2006

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

Tag Activity for this File
Tag Applied By Date/Time
gui Iari-Gabriel Marino 22 Oct 2008 07:20:30
display Iari-Gabriel Marino 22 Oct 2008 07:20:30
annotation Iari-Gabriel Marino 22 Oct 2008 07:20:30
anaglyphic Cristina McIntire 05 Feb 2009 13:36:29
anaglyphs Cristina McIntire 05 Feb 2009 13:36:29
anaglyph Cristina McIntire 05 Feb 2009 13:36:29
stereoscopy Cristina McIntire 05 Feb 2009 13:36:29
stereoscopic Cristina McIntire 05 Feb 2009 13:36:29
3d Cristina McIntire 05 Feb 2009 13:36:29
stereo Cristina McIntire 05 Feb 2009 13:36:29

Contact us at files@mathworks.com