Skip to content

The code processes a video file capturing LEDs on moving joints. It defines color threshold ranges to identify LEDs, crops frames to the region of interest, creates binary images for each LED color, calculates centroids, and plots their movement. It generates output videos overlaying centroids on original frames, visualizing LED movement.

Notifications You must be signed in to change notification settings

akunna1/LED-Joint-Tracking-in-Video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

🔴🟢🔵 LED-Joint-Tracking-in-Video

About

This MATLAB project processes a video of moving joints with LED markers to track and visualize joint movement. It uses color thresholding to isolate red, green, and blue LEDs, calculates their centroids, and overlays their motion on output videos.

Features

  • Custom RGB thresholding for LED detection

  • Frame-by-frame centroid tracking

  • Cropping to region of interest

  • Overlayed visualization of LED motion

  • Two output videos:

    • Centroid tracking animation
    • Joined motion of all LEDs

🛠 Built With

  • MATLAB
  • Image Processing Toolbox
  • Custom centroid function
  • RGB color filtering logic

Workflow

  1. Load and crop video frames
  2. Detect LEDs using RGB thresholds
  3. Calculate centroids per color
  4. Plot centroid paths and save to video
  5. Render joined-joint movement in a second video

📁 Topics

data-science · matlab · video-processing · image-analysis · centroid-tracking

About

The code processes a video file capturing LEDs on moving joints. It defines color threshold ranges to identify LEDs, crops frames to the region of interest, creates binary images for each LED color, calculates centroids, and plots their movement. It generates output videos overlaying centroids on original frames, visualizing LED movement.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages