Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
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!

Risposte (1)

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

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by