insertImage(Ib, Is, ij)

Versión 1.0.0.0 (1,28 KB) por Germán
Inserts small image into a big one. Can also be used to pad arrays arbitrarily.
82 descargas
Actualizado 25 nov 2015

Ver licencia

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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2012b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Images en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

Docs