Multi-frame view (figure shadows)
The MULTI_FRAME_VIEW is a convenient function that creates figure shadows for multiple frames. The function help is included below:
function MULTI_FRAME_VIEW(files,we,be,ne,ie,gr)
MULTI_FRAME_VIEW creates figure shadows for multiple frames. Multiple shadow frames can also be created to allow the appearance of volume data for several 2D images.
Usage: MULTI_FRAME_VIEW(files,we,be,ne,ie,gr)
Arguments: files - struct array of file names [output from dir function]
we - white border size [default=2]
be - black border size [default=5]
ne - number of borders [default=3]
ie - image border size (beyond frames) [default=20]
gr - grayness of borders (0=black, 1=white, 0.5=gray) [default=0]
Returns: none (a figure is displayed)
Example: MULTI_FRAME_VIEW(dir('*.tif'),2,5,3,20,0)
MULTI_FRAME_VIEW(dir('*.tif'),0,10,2,20,0.25)
MULTI_FRAME_VIEW([],[],[],[],[],[])
Note: 6 inputs are required and current directory must contain image files (default is tif images)
2014/02/28: written by Luke Xie
keywords: shadow box, figure shadow, multiple frames, multi frame view, volume data appearance, 2D/3D/N-D, tif/png/jpg
Cite As
Luke Xie (2024). Multi-frame view (figure shadows) (https://www.mathworks.com/matlabcentral/fileexchange/45720-multi-frame-view-figure-shadows), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Display and Exploration > Basic Display >
Tags
Acknowledgements
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.