Trace perimeter of binary image with line segments (bwperimtrace)

バージョン 1.0.0.0 (3.04 KB) 作成者: Daniel Warren
Traces the outer boundaries of non-zero pixels in a monochrome image
ダウンロード: 301
更新 2015/8/24

ライセンスの表示

Lines surrounding contiguous regions in an image can be extracted using MATLAB's built-in contour/contourc functions, but these functions perform linear interpolation between pixels leading to 'cut corners'. bwperim from the imaging toolbox will trace boundaries without interpolation, but only provides its result as a pixel map. This function, bwperimtrace, instead outputs line segments that entirely contain all non-zero pixels in the input image. The package also includes contourc4, a replacement for contourc, which doesn't perform any interpolation between pixels.

引用

Daniel Warren (2024). Trace perimeter of binary image with line segments (bwperimtrace) (https://www.mathworks.com/matlabcentral/fileexchange/49551-trace-perimeter-of-binary-image-with-line-segments-bwperimtrace), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2014a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersRegion and Image Properties についてさらに検索
謝辞

ヒントを与えたファイル: Im2mesh (2D image to triangular meshes)

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Update submission title to better reflect its purpose.