imshow4

Function for 2D/3D/4D image view.
1K Downloads
Updated 10 Jul 2014

View License

Function for 2D, 3D or 4D image display. This function allows dispaying 3d image data in time and from different views. Required Matlab version 2012a or newer. Recomended Matlab 2013a or newer. I appreciate any kind of idea to upgrade design, functionality and computational complexity reduction.
-------------------------------------------------------------------------
imshow4(im) - show 2D, 3D or 4D image with default settings
imshow4(im,slice) - show 3D or 4D image with default settings with started at slice number
imshow4(im,slice,ref_time) - show 3D or 4D image with default settings with started at slice number and reference time sample
imshow4(im,slice,ref_time,range) - show 4D image with default settings with started at slice number and reference time sample with specified intensity range settings
imshow4(im,slice,ref_time,range,colormaps) - show 4D image with default settings with started at slice number and reference time sample with specified intensity range and colormap settings
imshow4(im,slice,ref_time,range,colormaps,time) - show 4D image time fusion, where time is second image inital time sample
imshow4(im,slice,ref_time,range,colormaps,time,method) - show 4D image time fusion, method is same as method in imfuse function
-------------------------------------------------------------------------
im - input image 2D/3D/4D
slice - number of slice (default = 1)
ref_time - number of reference time sample (default = 1)
range - intensity range - 'all'/0/[x,y]/'norm' (default = 'all' - same as imshow(im,[]))
colormaps - same as colormap function parameters - 'jet',...0 - def. (default = 'gray')
time - number of time sample (default = 1)
method - method from imfuse function - 'falsecolor'/'blend'/'diff'/'montage' (default = 'falsecolor')
-------------------------------------------------------------------------
Keyboard contols:
arrows - browse data through axis and time
numbers 0-5 - change views
f key - fusion/non-fusion switch

Cite As

Jiri Chmelik (2024). imshow4 (https://www.mathworks.com/matlabcentral/fileexchange/47188-imshow4), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

* error with displaying repaired
* fusion key added

1.0.0.0