how can i find out the minimum (x1,y1) and maximum (x2,y2) cordinates of any image in matlab in the form of minimum boundary ractangle ?

4 ビュー (過去 30 日間)
how can i find out the minimum (x1,y1) and maximum (x2,y2) cordinates of any image in the form of minimu boundary ractangle?

採用された回答

Matt Kindig
Matt Kindig 2013 年 3 月 18 日
First, you will need to threshold the desired region of your image (i.e. the portion for which you want to find the boundary rectangle). You can then extract the corners--which is what I assume you mean by (x1,y1) and (x2,y2)) of the bounding rectangle-- easily.
If you upload an image, we can provide more specific assistance.

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by