Draw circle on image, center to center

7 Ansichten (letzte 30 Tage)
bashar halleem
bashar halleem am 11 Apr. 2020
Kommentiert: Matt J am 12 Apr. 2020
Hello Every One.
I want to draw circle on image, center to center, the radius equal to quarter of the image side length. How can I do please
  2 Kommentare
Matt J
Matt J am 11 Apr. 2020
What does "center to center" mean?
bashar halleem
bashar halleem am 11 Apr. 2020
Center of circle at the center of Image

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Matt J
Matt J am 11 Apr. 2020
Bearbeitet: Matt J am 11 Apr. 2020
Maybe this is what you're looking for,
>> A=rgb2gray(imread('wagon.jpg')); imshow(A);
>> [m,n]=size(A);
>> drawcircle('Center',[n,m]/2+0.5,'Radius',length(A)/4)
  7 Kommentare
Matt J
Matt J am 12 Apr. 2020
OP's comment moved here:
Thanks @Matt J
Matt J
Matt J am 12 Apr. 2020
You are quite welcome.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by