quantify amount of movement in short videoclips
Show older comments
Hi!
I want to analyze the amount of movement of a person in about 500 5 second videos. The person is sitting on the floor and is videotaped from the top (camera is stable).
I would like to have one value per video. Or, alternatively get his position on the x- and y-axis frame by frame so I know more about the direction of the movement. I have no idea how I can do this. I searched on the Internet but couldn't really find what I am looking for.
best, Mariska
Answers (1)
Walter Roberson
on 23 Mar 2011
1 vote
In such a situation, steady scene and steady camera, and presuming steady lighting, then for each clip, threshold based upon the pixel variance: the low-variation pixels are "steady state". For each frame, remove the background within the ROI; you are then in a position to measure object centroid, and factors such as object eccentricity (which gives clues about possibilities such as extending arms or legs.)
2 Comments
Mariska Kret
on 23 Mar 2011
Walter Roberson
on 23 Mar 2011
Sorry, I do not have an example script. For something like this, I would suggest looking on the Matlab File Exchange (FEX) at the contributions by ImageAnalyst, as I know he has some movie processing demos.
Categories
Find more on Motion Detection in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!