File Exchange

image thumbnail

OrthoView

version 1.0 (9.73 KB) by

GUI for interactive viewing of 3D volumes.

5 Downloads

Updated

No License

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.
 
See also: SLICE, MONTAGE, ISOSURFACE
 
Ghassan Hamarneh
hamarneh@gmail.com
Download latest software from:
http://www.cs.sfu.ca/~hamarneh

Comments and Ratings (8)

Tomislav

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

Thanks

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!

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.

Rosa Girardi

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

Daniel Simões-Lopes

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

Gerard Ridgway

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

Bat Jarvis

thank godness for this!

Sri Nag

Simple and Great

Updates

Minor edits to description.

Minor edits to description.

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.

MATLAB Release
MATLAB 7.0.1 (R14SP1)
Acknowledgements

Inspired: OrthoView3D, 3D Volume Visualization

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

» Watch video