Processing Video Frames with Markers

7 vues (au cours des 30 derniers jours)
Drew
Drew le 26 Juin 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 commentaire
Muthu Annamalai
Muthu Annamalai le 26 Juin 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

Connectez-vous pour commenter.

Réponses (1)

Nitin
Nitin le 28 Juin 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!

Translated by