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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by