Processing Video Frames with Markers

2 views (last 30 days)
Drew
Drew on 26 Jun 2013
I have a large number of long video files and I need to go through and record certain frames that have a specific marker in them. The marker is a red checker pattern, and I have a reference image. The problem I am running into is that in the video the matching marker is often motion blurred or the color is skewed by lighting. I am also running into significant processing time problems trying to iterate through each frame of these half-hour videos. Ideally processing these videos would be faster than sitting and watching them at 60 fps. Any tips?
  1 Comment
Muthu Annamalai
Muthu Annamalai on 26 Jun 2013
Have you considered a thresholding/grayscaling (i.e. convert frame from RGB to dual tone, 256-level gray image) of the frames before you apply a matched-filter correlator? This should avoid the biasing due to lighting.
But again I'm not a image processing expert, and this is a little hand-wavy advice :D

Sign in to comment.

Answers (1)

Nitin
Nitin on 28 Jun 2013
template matching could work.. you compare the template in your reference image with your other frames, you can check 'normxcorr2' and http://www.mathworks.com.au/matlabcentral/answers/28279

Community Treasure Hunt

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

Start Hunting!