Detect object in motion

12 views (last 30 days)
J.L. Jones
J.L. Jones on 8 Feb 2014
Commented: Image Analyst on 9 Feb 2014
Hi all,
Having a set of frame, I want to detect which object is in movement. I don't need nothing more than a mask that for each frame is positive just for that object. I also believe that it will be fine to detect it between 2 frames and I also don't need small objects in movement, but just one that are significantly noticeable.
There is a quick way to do this ?
Thank you very much

Answers (1)

Image Analyst
Image Analyst on 8 Feb 2014
See my demo, attached below in blue, where I calculate the difference between a frame and the average of N prior frames. Adapt it as needed.
  4 Comments
J.L. Jones
J.L. Jones on 9 Feb 2014
Well I'm not searching things that general. All my images are grayscale, also is a specific case I've an object which colour is fairly different from background and it's moving one frame to another. I've got few of this situation, but let's say for example a guy walking down a road and the background is usually bright. Note that thresholding is not working as also other sparse element have such color.
Image Analyst
Image Analyst on 9 Feb 2014
Well that's all I have for you: my demo and a link to the CVS Toolbox. So good luck.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!