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

2 vues (au cours des 30 derniers jours)
Mohannad Nasir
Mohannad Nasir le 17 Sep 2018
Réponse apportée : AMAR P le 21 Sep 2018
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 )

Réponses (1)

AMAR P
AMAR P le 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');

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by