Processing Video Frames with Markers

1 次查看(过去 30 天)
Drew
Drew 2013-6-26
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 个评论
Muthu Annamalai
Muthu Annamalai 2013-6-26
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

请先登录,再进行评论。

回答(1 个)

Nitin
Nitin 2013-6-28
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!

Translated by