Trace Intensity across the frames at multiple Locations

version 1.1 (3.24 KB) by Sajid Ali
1) The script will read the video file and split each frame. 2) Multiple ROI can be processed at the same time. 3) The intensity of the mole

9 Downloads

Updated Mon, 30 May 2022 12:39:24 +0000

From GitHub

View License on GitHub

Trace-Intensity-across-the-frames-at-multiple-Locations

  1. The script will read the video file and split each frame.
  2. Multiple ROI can be processed at the same time.
  3. The intensity of the molecules will be extracted from each frame and plot intensity vs frame/time graph.

Steps:

  1. Each RGB frame is converted to gray scale --> it is unit8
  2. User will be asked for the number of ROI --> Follow the Command Window --> give a integer value
  3. The first frame will appear on the screen and being asked to user to draw a shape (region of interest - ROI) for the analysis. Follow the instruction on the dialog box how to draw the ROI.
  4. After all ROI is marked, user may further adjust the location of each ROI. --> Follow the Command Window --> Once done, press ENTER.
  5. A figure will appear, displaying three subplots. 5.1) Subplot 1 --> Each frame in gray scale 5.2) Subplot 2 --> Total ROI labelled with a number (the number is in the order it has drawn) 5.3) Subplot 3 --> Masking Each ROI on the original gray scale frame.
  6. The script will run through the number of frames. The figure will update for every loop.
  7. At the end, the intersity vs frames for each ROI will be plotted.

How to Use

  • Input -- Give the complete path of the video file at line 46

  • Output -- Mean value in each ROI with respect to each frame.

The file can also be downloaded from MATLAB File exchange View Trace-Intensity-across-the-frames-at-multiple-Locations on File Exchange

Cite As

Sajid Ali (2022). Trace Intensity across the frames at multiple Locations (https://github.com/sajidalirander/Trace-Intensity-across-the-frames-at-multiple-Locations/releases/tag/1.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.