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

조회 수: 2 (최근 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 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