imcircle

The file develops an "n by n" matrix containing a solid circle of ones of diameter "n" pixels.

現在この提出コンテンツをフォロー中です。

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 (2026). imcircle (https://jp.mathworks.com/matlabcentral/fileexchange/128-imcircle), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: Pattern generator for MATLAB, Synthetic Microstructure Generator

カテゴリ

Help Center および MATLAB AnswersImage Segmentation and Analysis についてさらに検索

Add the first tag.

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
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).