Image Stack

Takes a 3D image file, slices it up, and lays out the resulting stack of images into a nice little montage. Add masks and contours. Go nuts!
38 Downloads
Updated 21 May 2021

View License

Make beautiful looking plots out of stacks of images, and customize them with contours, masks, colorbars, titles, etc. Fonts are automatically set to use the LaTeX interpreter, unless you feel like something uglier then there are PLOTOPTIONS!
IMAGEST create an image stack figure out of a 3D array. Slices up the
3D array and lays out each slice in an optimized grid. Add
masks and contours to make your images tell a story.
fig = IMAGEST(propertyArray) creates an image stack out of
propertyArray
fig = IMAGEST(propertyArray, dataOptions, plotOptions) creates
an image stack using extra dataOptions and plotOptions
dataOptions and plotOptions are (name,value) pairs. The function returns a FIGURE object whose 1st child, fig.Children(1), is the COLORBAR, and the remaining children are the AXES. One can fine tune the behavior of the plot by directly accessing the properties within the children. All titles support LaTeX in math mode ex. $\phi$ Run the manual function in MATLAB to examine all (name,value) arguments.
Imagest will automatically try to find the best layout for the data provided. If what this mindless algorithm does is not to your liking, then use PLOTOPTIONS to override its sensibilities.

Cite As

Damian Sowinski (2024). Image Stack (https://www.mathworks.com/matlabcentral/fileexchange/87462-image-stack), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with R2020a to R2021a
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.0.1

Tweaked the manual

1.0.0