Problème de pointeur avec drawrectangle

Bonjour,
J'ai un problème de pointeur avec drawrectangle dans une image. Le pointeur est une croix. Le problème est que le centre de cette croix ne définit pas exactement la position du rectangle, celui-ci se trace à partir d'un point plus à gauche et plus en haut que le centre de la croix ; d'où un manque de précision.
Merci pour l'aide.

Answers (1)

Aditya
Aditya on 30 Aug 2023
Hi Pascal,
I understand that you are encountering some issues while using the "drawrectangle" function. To address this, I recommend referring to the documentation and examples provided in this link: https://in.mathworks.com/help/images/ref/drawrectangle.html. This resource will provide you with a better understanding of how to use the function according to your specific needs.
I hope this helps!

Asked:

on 14 Aug 2023

Answered:

on 30 Aug 2023

Community Treasure Hunt

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

Start Hunting!