Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Matlab_user
Matlab_user am 19 Sep. 2016
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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!

Antworten (1)

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

Diese Frage ist geschlossen.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by