Circle on binary image

5 ビュー (過去 30 日間)
liang ro
liang ro 2017 年 12 月 5 日
コメント済み: liang ro 2017 年 12 月 12 日
Hello every one!! i am new to matlab and i want to write circles on an image. h=viscircles(centers,radii,'Color','k','LineWidth',wid); will someone help me that how to draw the circles(by assigning the value of h or any other procedure) on a white binary image of 256*256 pixels

採用された回答

Akira Agata
Akira Agata 2017 年 12 月 11 日
The following example displays a blue circle whose radius and center are 50 pixel and (100,100), respectively.
% 256x256 binary image (white)
I = ones(256);
% Display a blue circle on the image
imshow(I)
hold on
viscircles([100,100], 50,'Color','b')
  1 件のコメント
liang ro
liang ro 2017 年 12 月 12 日
thank you!!

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by