imcircle

The file develops an "n by n" matrix containing a solid circle of ones of diameter "n" pixels.
8,9K téléchargements
Mise à jour 29 jan. 2008

Afficher la licence

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.

Citation pour cette source

John T. McCarthy (2024). imcircle (https://www.mathworks.com/matlabcentral/fileexchange/128-imcircle), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2006a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Image Segmentation and Analysis dans Help Center et MATLAB Answers
Tags Ajouter des tags

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
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).