hello , how can i detect the corners of given square in matlab

1 回表示 (過去 30 日間)
Mohannad Nasir
Mohannad Nasir 2018 年 9 月 17 日
回答済み: AMAR P 2018 年 9 月 21 日
i have this picture on matlab & I want to draw another not filled rectangle over the white one ( only covering the borders without the filled color )

回答 (1 件)

AMAR P
AMAR P 2018 年 9 月 21 日
What I get from your description is, you want to highlight the border of rectangle(not square) in the attached image. Am I right?
If that is the case there are several ways you can achieve this. Start with
GetObject = regionprops(YourImgRead,'BoundingBox');

カテゴリ

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