Pad an image subregion, restoring it's original spatial context.

バージョン 1.3.0.0 (2.23 KB) 作成者: DS
REFRAME(I,R,B) applies PADARRAY to subregion, R, returning an image with the dimensions of image, I.
ダウンロード: 1.6K
更新 2012/3/30

ライセンスの表示

This function is meant to work with the MatLab image toolbox function REGIONPROPS and expects the following inputs,
I is the original image supplied to REGIONPROPS
R is a label region 'image' returned by REGIONPROPS
B is a boundingbox returned by REGIONPROPS

REFRAME(I,R,B) applies PADARRAY to the label region 'image',R, returning an image with the dimensions of the original image, I, restoring the original spatial context of R.

The behavior of REFRAME can be modified by additional options which are specified as propertyName/propertyValue string pairs.

Options:
NAME / VALUE
-------------------
'padval' --scalar value, or text string:circular,replicate,symmetric; passed directly to PADARRAY (see padarray help file for details).

引用

DS (2024). Pad an image subregion, restoring it's original spatial context. (https://www.mathworks.com/matlabcentral/fileexchange/13896-pad-an-image-subregion-restoring-it-s-original-spatial-context), MATLAB Central File Exchange. 取得済み .

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

Community Treasure Hunt

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

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

Fixed typographical errors inadvertently introduced in the last update.

1.1.0.0

Added 'padval' option.

1.0.0.0

Edited help text.