insertImage(Ib, Is, ij)

バージョン 1.0.0.0 (1.28 KB) 作成者: Germán
Inserts small image into a big one. Can also be used to pad arrays arbitrarily.
ダウンロード: 82
更新 2015/11/25

ライセンスの表示

It can be used to put an array inside another array at an arbitrary location. It is sensitive to edges and correctly crops as needed.
Example:
A = zeros(10);
B = rand(5);
ij = [7,7];
I = insertImage(A, B, ij);

figure,
imagesc(I)
axis equal tight

引用

Germán (2024). insertImage(Ib, Is, ij) (https://www.mathworks.com/matlabcentral/fileexchange/54176-insertimage-ib-is-ij), MATLAB Central File Exchange. 取得済み .

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

Community Treasure Hunt

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

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

Docs