Defining a ROI for feature extraction rather than rectangle

Hi,
I'm using points = detectSURFFeatures(I) for feature detection. I can use a rectangular ROI with this funstion in the format of [x y w h], however I need to use an arbitory ROI(from a mask with out any typical shape). Is it possible to use detectSURFFeatures function with an arbitory ROI?? The resean is that when I chose rectangle still there are some locations that are inrelavant. Any help would be appreciated.
Regards,

回答 (1 件)

Qu Cao
Qu Cao 2021 年 5 月 17 日

1 投票

Unfortunately, rectangle is the only type of ROI supported. As a workaround, you can define multiple ROIs in your image to cover the relevant area, extract feature points separately, and then combine the points.

1 件のコメント

Nazanin Safavian
Nazanin Safavian 2021 年 5 月 17 日
Great! thank you I haven't thought about it this way.

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

カテゴリ

ヘルプ センター および File ExchangeImage Processing and Computer Vision についてさらに検索

質問済み:

2021 年 5 月 15 日

コメント済み:

2021 年 5 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by