imcircle

The file develops an "n by n" matrix containing a solid circle of ones of diameter "n" pixels.
8,9K Downloads
Aktualisiert 29. Jan 2008

Lizenz anzeigen

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2006a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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).