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.