How to segment image with multiple bounding box coordinates given in excel format.

I have coordinates of bounding boxes in excel file. One image can have multiple BB. I want to segment images with the given BB coordinates from excel. That is pixels outside BB should be zero. Also want to obtain binary masks with given BB.How to do this for multiple images containing multiple BB.

回答 (1 件)

Image Analyst
Image Analyst 2023 年 10 月 7 日

0 投票

If you have the bounding box coordinates, you can use imcrop to extract just that rectangle.
To process multiple images, see the code snippets in the FAQ:

カテゴリ

ヘルプ センター および File ExchangeRead, Write, and Modify Image についてさらに検索

製品

リリース

R2023a

質問済み:

2023 年 10 月 7 日

回答済み:

2023 年 10 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by