imcircle

版本 1.0.0.0 (1.7 KB) 作者: John T. McCarthy
The file develops an "n by n" matrix containing a solid circle of ones of diameter "n" pixels.
8.9K 次下载
更新时间 2008/1/29

查看许可证

The file develops an 'n by n' matrix containing a solid circle of ones of diameter 'n' pixels, over a background of zero pixels.

Pixel positions are calculated on a nearest-fit basis, using trigonometry.

Such a circle can be an image, or part of an image, or an image mask.

A hollow circle (line circle) is also possible.

引用格式

John T. McCarthy (2024). imcircle (https://www.mathworks.com/matlabcentral/fileexchange/128-imcircle), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Image Segmentation and Analysis 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Up to now, this file generated only a solid circle (disk).

I wish to include an option to have a hollow circle (line circle).