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.
-
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
- MATLAB
- Image Processing Toolbox
- Custom centroid function
- RGB color filtering logic
- Load and crop video frames
- Detect LEDs using RGB thresholds
- Calculate centroids per color
- Plot centroid paths and save to video
- Render joined-joint movement in a second video
data-science
· matlab
· video-processing
· image-analysis
· centroid-tracking