To create a custom border around input data.
... Function - CreateBorder(data_in, H_border, W_border, border_val)
... Creates a border defined by border size around data_in of value = border_val
... For eg -
... >> a = magic(4);
... >> % To create a [2x4] border of 0s around 'a'
... >> a = CreateBorder(a, 2, 4, 0);
引用
AA (2024). CreateBorder (https://www.mathworks.com/matlabcentral/fileexchange/59371-createborder), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2014a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Help Center および MATLAB Answers で Region and Image Properties についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 | . |