How can i draw a circle at a particular centroid?

조회 수: 2 (최근 30일)
MoonPie1
MoonPie1 2016년 5월 22일
댓글: MoonPie1 2016년 5월 23일
How can i draw a circle at a particular centroid? I have an image displayed by the function imshow.. I need to draw circle of a particular diameter on the image..

답변 (1개)

Image Analyst
Image Analyst 2016년 5월 22일
편집: Image Analyst 2016년 5월 22일
I just answered this for someone.
hold on;
plot(xCenter, yCenter, 'bo', 'MarkerSize', 30);
Adjust MarkerSize to get different diameter.
If you have row,column instead of x,y, do this:
hold on;
plot(centerColumn, centerRow, 'bo', 'MarkerSize', 30);
  댓글 수: 1
MoonPie1
MoonPie1 2016년 5월 23일
Is there any alternative instead of Markersize?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by