Matlab apps to generate simple videos for imaging research articles.
Tile two movie side by side or place single movie. Add frame stamps (frame-dependent labels) and legends (static labels) (as many as we want). Add color coding to frame.
Can be used for hyperspectral imaging data, time imaging data, z scanning data visualization.
Comparison on video quality between methods.
Scan through different wavelength with pseudo-color.
Credit: USAF Target using CASSI by Ruixuan Zhao
Scan through different layer of 3D sample with pseudo-color.
Credit: Mouse retina using light sheet microscope by Yaran Zhang
** Requires MATLAB 2020 or higher **
Open Matlab and double click the GenerateMoviePair.mlappinstall file. The app will be added to the APPS Tab in Matlab.
- Select one/two movies (tif or tiff stack file) by clicking buttons Left Frame and Right Frame; If using only one movie, just leave one of the entries empty.
- Choose Index Offset and Total frames;
- Add time stamps and legends (if applicable) by clicking button Add beside their corresponding menu; Check color coding if applicable.
- Preview by draging the Time slider;
- Click on button Render. The movie will be saved in current folder.
- Index Offset: The preview frame index will be the frame index in Time slider added by this Index Offset.
- Total frames: The total number of frames to be previewed and rendered.
- Adjust image contrast: Adjust Lower Clip and Upper Clip to clip the lower and upper intensity and stretch the histogram.
- Frame Stamps: Choose one frame stamps from the drop-down menu and edit its position X, Y, Size, Step, init and Unit. The frame stamp of a certain frame
$i$ will be$Init + i * Step$ with the unit defined by Unit. The Step and Init can be negative. - Legends: Similar to frame stamps, except that the text box defines the string to show as it is.
- [updated 8/15/2022] Color coding: Check Enable Color Coding to add color to each frame. The hue applied to each frame will be interpolated from the Hue at the beginning to Hue at the end.