How to exclude or mask small regions of video from feature detection?

2 visualizaciones (últimos 30 días)
I want to try doing SLAM on some video from a helicopter. Unfortunately the video has a data overlay that interferes with the detection of features. Unfortunately, some of the overlay is in the center of the image, so selecting a rectangular ROI would be limited to a very small part of the image.
How can I tell the feature detector to ignore some portions of the image? The overlay pixel locations are very consistent, so I want to use a mask.

Respuesta aceptada

Image Analyst
Image Analyst el 10 de Nov. de 2022
Perhaps you can use the Color Thresholder to identify the blue-green pixels. Then use regionfill to fill them in with the surrounding "good" parts of the image.
See attached m-file.
  6 comentarios
Nelson
Nelson el 15 de Nov. de 2022
Editada: Nelson el 15 de Nov. de 2022
The cyan text certainly causes a lot of undesired detections, but the detector I tested seems to ignore pure-black (zeros). Maybe that's the convention for the detector, that black pixels are ignored. Thanks!
Image Analyst
Image Analyst el 15 de Nov. de 2022
Glad I could help and that it's working. Thanks getting back to me, and for Accepting the Answer. 🙂

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Processing and Computer Vision en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by