Code covered by the BSD License  

Highlights from
imshow3D (3D imshow)

4.66667

4.7 | 4 ratings Rate this file 151 Downloads (last 30 days) File Size: 3.4 KB File ID: #41334
image thumbnail

imshow3D (3D imshow)

by

 

16 Apr 2013 (Updated )

imshow3D:(3D imshow) Displays 3D images slice by slice.Intensity adjusting & slice browsing by mouse

| Watch this File

File Information
Description

imshow3D displays 3D images in slice by slice fashion with mouse based slice browsing and window and level adjustment control.
 
Usage:

imshow3D ( Image )
imshow3D ( Image , [] )
imshow3D ( Image , [LOW HIGH] )
    
   Image: 3D image MxNxK (K slices of MxN images)
   [LOW HIGH]: display range that controls the display intensity range of the grayscale image (default: the widest available range)

Use the scroll bar or mouse scroll wheel to switch between slices. To adjust window and level values keep the mouse right button pressed and drag the mouse up and down (for level adjustment) or right and left (for window adjustment).
  
"Auto W/L" button adjusts the window and level automatically.
 
While "Fine Tune" check box is checked the window/level adjustment gets 16 times less sensitive to mouse movement, to make it easier to fine tune the window and level values.

Scrolling and window/level adjustment has been designed similar to the standard medical image visualization software.

Example
--------
  % Display an image (MRI example)
  load mri
  Image = squeeze(D);
  figure,
  imshow3D(Image)

  % Display the image, adjust the display range
  figure,
  imshow3D(Image,[20 100]);

Required Products MATLAB
Image Processing Toolbox
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
26 Sep 2013 Nathan  
20 Apr 2013 Jehan Ziad Ghafuri

Well done, I have tried it and it is awsome

19 Apr 2013 Maysam Shahedi

Hi Mohammad,

if you mean to control the display intensity range of the image, yes, you can do it by pressing the right button of the mouse on the image and dragging the mouse to left and right or up and down.

By the way, in the next update (in few days) an option will be added to the function for calling the function with a specific display intensity range, similar to what we have for "imshow" function.

Hope it addressed your question. Please feel free to contact me if you have any further question about it.

19 Apr 2013 Mohammad Azizian

is there a way to scale matrices in color map using this function?

18 Apr 2013 Jehan Ziad Ghafuri  
Updates
18 Apr 2013

This function needs image processing toolbox too.

19 Apr 2013

Display intensity range option has been added.
Minor bugs have been fixed.
It is more similar to Matlab imshow function now.
One example has been added to the help page.

Contact us