Borrar filtros
Borrar filtros

combining small image to a large image

5 visualizaciones (últimos 30 días)
Chan
Chan el 24 de Abr. de 2014
Comentada: Image Analyst el 25 de Abr. de 2014
I am trying to merge small images into a large image by copying the small images' matrix to a single matrix While when i try copying, the result is not as I expected, the part of the large matrix is as the same as the image. The size of the small image is 13X39,hence i set it manually for testing
tryq=imread([folder '/' num2str(i+1) ' ' num2str(j+1) 'temp.jpg '])
figure(2)
imshow(tryq)
figure(3)
finalImage(1:13,1:39,:)=tryq;
imshow(finalImage);
  5 comentarios
Chan
Chan el 25 de Abr. de 2014
thank you,it works
Image Analyst
Image Analyst el 25 de Abr. de 2014
Can you mark my Answer below as Accepted then? Thanks in advance.

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 24 de Abr. de 2014
Attached is a demo for copying a small image onto a larger one. In my demo, the small image is actually chosen from part of the large image, but it could just as well be a totally separate image.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by