Draw circle on image, center to center

2 次查看(过去 30 天)
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

采纳的回答

Matt J
Matt J 2020-4-11
编辑:Matt J 2020-4-11
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 个评论
Matt J
Matt J 2020-4-12
OP's comment moved here:
Thanks @Matt J

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Feature Detection and Extraction 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by