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

2 views (last 30 days)
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 )

Answers (1)

AMAR P
AMAR P on 21 Sep 2018
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');

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!