View License

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

» Watch video

Highlights from
hyperspectral image cube slicer

4.6 | 5 ratings Rate this file 14 Downloads (last 30 days) File Size: 245 KB File ID: #40076 Version: 1.4
image thumbnail

hyperspectral image cube slicer



29 Jan 2013 (Updated )

Image slicer to visualize multi-channel image data.

| Watch this File

File Information

Implementation of an image cube slicer for multi-channel images (eg. hyperspectral-, MRI-, satelite- or any other kind of image data with more than 1 band).

The image cube slicer contains of an image band screen in the left panel, where an image plane is illustrated (either using imshow() or imagesc()). The image plane is selected using a slider tool located below the image plane.
Further, a draggable rectangle area is placed in the center of the image. The right panel illustrates the average data values (as a 1D-plot) for each band of the data cube that correspond to the currently selected rectangle area. Four different rectangle areas can be selected.
In case of hyperspectral images, the right panel plot corresponds to the (average) spectral signal of the current selection.

For machines with low RAM, the image data can optionally be resized to speed up the slicer.

NOTE: if you get the following error:
??? Error using ==> im_cube_slicer at 81
This hg object does not fire this event

Then your Matlab Version is not compatible with the im_cube_slicer.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.12 (R2011a)
Other requirements Tested on Windows and Unix platforms, for Matlab Versions R2011a and higher.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
23 Nov 2016 lucas turrian

Very good tool

01 Oct 2013 Miguel Ángel

Very useful tool. Definitely a must if you work with spectral images in matlab. Something like this was missing in the image processing toolbox.

17 Sep 2013 Timo Eckhard

@Prasad and others wondering: The error results from using Matlab < R2011a, and missing functionalities in this version that I would not know how to omit otherwise. Sorry for that...

Comment only
17 Sep 2013 Eva M. Valero

Very useful tool for visualizing hyperspectral images

01 Aug 2013 Prasad Kalane

When I run the code(MATLAB 7.8/R2009a) following error comes

??? Error using ==> im_cube_slicer at 81
This hg object does not fire this event

Error in ==> im_cube_slicer_demo at 27
fh = im_cube_slicer(im_norm,lambda,s_factor,'fixed');

how to solve this error...?

15 Feb 2013 Jia

Jia (view profile)

04 Apr 2013 1.1

29.01.2013: initial version
15.02.2013: added the missing description of the input parameter 'lambda' to the function header.

04 Sep 2013 1.3

-> zoom in view added.
-> method='cropped' added.
-> toolbar changed.

16 Sep 2013 1.4

previous version was slow. Performance increased. Button for 'no average' in spectral view added to toolbar.

Contact us