Code covered by the BSD License  

Highlights from


5.0 | 3 ratings Rate this file 53 Downloads (last 30 days) File Size: 45.6 KB File ID: #40753
image thumbnail




12 Mar 2013 (Updated )

This is a image slice viewer with built in scroll, contrast, zoom and ROI tools.

| Watch this File

File Information

Use this class to make a self-contained image viewing panel within a GUI (or any figure). Similar to imtool but with the added ability to scroll through slices of an image stack. Only designed to view grayscale (intensity) images. Hopefully this will save people time when either designing a GUI or even when they just need to quickly look through an image stack.

Required Products Image Processing Toolbox
MATLAB release MATLAB 8.2 (R2013b)
Other requirements Image processing toolbox
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
27 Jul 2014 Justin Solomon

@ Edwin
I just submitted a major update to the tool. The user now has access to all the underlying handles of the objects contained in the tool. You may be able to accomplish what you want now. (Though I'm not entirely clear on what exactly you want to do).

%get a structured variable of all the handles
handles = getHandles(tool)
%et the 'AlphaData' property of the image

12 Jun 2014 Justin Solomon

@ Edwin
Thanks for the positive feedback. Unfortunately there is not an AlphaData property for this tool right now. I'm planning to make a major revision to this tool to make it easier to access the underlying image objects. It will be much easier to do what you describe in the next version. Stay tuned! (no timeline yet, really busy with other stuff at the moment).

11 Jun 2014 Edwin

Great tool! Is there an equivalent to an 'AlphaData' tag property for this tool? Trying to see if one could overlay a set of images and use this tool to scroll through it. Thanks!

19 Apr 2013 Maysam Shahedi

Nice GUI!
You can use mouse wheel to switch slices. It makes the GUI easier to use.

19 Mar 2013 Anna Rodrigues  
18 Apr 2013

Added the method:
ROI = getROIinfo(tool)
This lets the user get information about the currently selected ROI

26 Jul 2014

New in version 2.0- Completely redesigned the tool. Window and leveling, pan, and zoom are now done with the mouse as is standard in most medical image viewers. Also the overall astestic design of the tool is improved with a new black theme. Added ab

28 Jul 2014

2.1- Added crop tool, help button, and button that resets the pan and zoom settings to show the entire image (useful when you're zoomed in and you just want to zoom out quickly.

05 Sep 2014

Updated Screenshot

Contact us