Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

2 ビュー (過去 30 日間)
Matlab_user
Matlab_user 2016 年 9 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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