フィルターのクリア

How can i draw a circle at a particular centroid?

7 ビュー (過去 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