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

2 ビュー (過去 30 日間)
Nelson
Nelson 2022 年 11 月 10 日
コメント済み: Image Analyst 2022 年 11 月 15 日
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.

採用された回答

Image Analyst
Image Analyst 2022 年 11 月 10 日
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 件のコメント
Nelson
Nelson 2022 年 11 月 15 日
編集済み: Nelson 2022 年 11 月 15 日
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 2022 年 11 月 15 日
Glad I could help and that it's working. Thanks getting back to me, and for Accepting the Answer. 🙂

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by