No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.0 | 5 ratings Rate this file 12 Downloads (last 30 days) File Size: 9.73 KB File ID: #2256 Version: 1.0
image thumbnail




23 Aug 2002 (Updated )

GUI for interactive viewing of 3D volumes.

| Watch this File

File Information

ORTHOVIEW is used to view orthographic slices of 3D volumes.

Download the m file to a folder and add it to your path.

From matlab run 'view3d' to open the GUI.

In the appropriate edit box, type in an expression that generates a 3D array then press the Load button.

3D expressions such as: rand(50,40,30) or the name or a 3D array variable in the workspace, for example, run load mri; D=squeeze(D); then enter D.

The 3 views (all except the lower right one) display orthographic projections.
Use the scroll bars to change the number of the slice viewed.
Use the transpose, flipud, or fliplr to transpose the view, flip it vertically, or horizontally.
Use update 3d to view the slices in a 3D view.
Check auto to obtain an automatic update of the 3D view of the slices (Note: this may affect performance).
Use cla to clear the 3D view this may improve performance.
Change the span values to the volume''s physical dimensions so the aspect ratio is displayed properly (note: you can use relative values for example use 1,3,2 instead of 0.5,1.5,1.0.

Global intensity scaling can now be enabled or disabled.
Press Apply to apply changes in span and intensity windowing.
Ghassan Hamarneh
Download latest software from:


This file inspired Ortho View3 D and 3 D Volume Visualization.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
04 Nov 2012 Tomislav

What is the difference when global intensity scaling is checked on or not?


Comment only
20 Oct 2010 Preeti

Preeti (view profile)

out of memory as the variable D has these attributes:
Name Size Bytes Class Attributes

D 512x512x354 185597952 uint16

please help!

Comment only
31 Jul 2007 Martin Bergtholdt

Can't resize the window (linux), maximize button is disabled (why?). Slice-slider (scrollbar) should advance one slice when clicking on the arrows (or using cursor keys). Kind of sluggish, but this maybe due to Matlab.

06 Mar 2007 Rosa Girardi

HELP ME.....I do not succeed to use view 3d

Comment only
07 Jul 2006 Daniel Simões-Lopes

Together with 'sliceomatic.m', these two GUIs offer simple and intuitive 3D visualization.

14 Nov 2005 Gerard Ridgway

Didn't seem to work until I commented out line 163 "colormenu", (Matlab 7.0.1 rel-14 sp1)

11 Sep 2005 Bat Jarvis

thank godness for this!

12 May 2003 Sri Nag

Simple and Great

29 Aug 2002

New file name so as not to conflict with an earlier submission with the same name from another user.

In addition to more enhancements: Intensity windowing & Help dialog.

31 Mar 2003

Minor edits to description.

15 Oct 2004

Minor edits to description.

Contact us