Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

2 次查看(过去 30 天)
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!

回答(1 个)

Sean de Wolski
Sean de Wolski 2016-9-19
Could you use a logical xor(). I.e. exclusively in one frame and not the other?
  1 个评论
Matlab_user
Matlab_user 2016-9-20
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.

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by