Processing Video Frames with Markers

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 comentario

Muthu Annamalai
Muthu Annamalai el 26 de Jun. de 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

Iniciar sesión para comentar.

Respuestas (1)

Nitin
Nitin el 28 de Jun. de 2013

0 votos

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

Preguntada:

el 26 de Jun. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by