Info

This question is closed. Reopen it to edit or answer.

Removing objects in bw scene that have not appeared in the previous bw scene

2 views (last 30 days)
Hi I have a set of binary images that detect moving vehicles. My data is very noisy and sometimes these noise regions leak into the foreground. These noise regions can be larger than the moving vehicles, and therefore, something like 'regionprops' might not work. How can I put a constraint to remove those regions in the current bw image that did not appear in the previous bw image. Something like using regionprops Centroids to do this check with. Thanks!

Answers (1)

Sean de Wolski
Sean de Wolski on 19 Sep 2016
Could you use a logical xor(). I.e. exclusively in one frame and not the other?
  1 Comment
Matlab_user
Matlab_user on 20 Sep 2016
I'm not sure if I understood what you suggested. The xor will probably not work as it will erode the edges of actual foreground objects.

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!