GithubHelp home page GithubHelp logo

simple_video_generator's Introduction

Simple Video Generators

Matlab apps to generate simple videos for imaging research articles.

Generate Movie Pair

Screenshot

Function

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.

Time lapse data

Comparison on video quality between methods.

time lapse demo

Hyperspectral data

Scan through different wavelength with pseudo-color.

hyperspectral demo

Credit: USAF Target using CASSI by Ruixuan Zhao

3D data

Scan through different layer of 3D sample with pseudo-color.

3D demo

Credit: Mouse retina using light sheet microscope by Yaran Zhang

Installation

** 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.

Usage

  1. 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.
  2. Choose Index Offset and Total frames;
  3. Add time stamps and legends (if applicable) by clicking button Add beside their corresponding menu; Check color coding if applicable.
  4. Preview by draging the Time slider;
  5. Click on button Render. The movie will be saved in current folder.

Options

  • 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.

Screenshot

  • [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.

simple_video_generator's People

Contributors

aaronzq avatar

Stargazers

 avatar  avatar  avatar Zeyu Keith Fu avatar

Watchers

 avatar

Forkers

rayrxuan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.