Draw circle in a image
조회 수: 3 (최근 30일)
이전 댓글 표시
Suppose i have an image. On that image i want to draw a circle which has specific radius and center. What function i need to use to draw a circle in a image?
채택된 답변
David Sanchez
2013년 6월 27일
imshow(your_image);
hold on
t=0:0.1:2*pi;
%x_o and y_o = center of circle
x = x_o + radio*sin(t);
y = y_o + radio*cos(t);
plot(x,y,'r');
hold off
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!