image treatment and double exposure effect
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello, I would like to know if it is possible to create a double exposure effect using Matlab? I tried overlaying the images but that doesn't really help.
Thanks in advance!
0 comentarios
Respuestas (1)
Carynelisa Haspel
el 5 de Dic. de 2019
Hi
you can read in your two images using imread - this example uses jpg but bmp, tiff, png, etc work also and make sure the dimensions of the 2 pictures in pixels are the same
file1 = imread('picture1.jpg');
file2= imread('picture2.jpg');
you now will have 2 matrices in file1 and file2
now just form the sum of the 2 matrices
you can weight one of the files more than the other by multiplication, as shown here using 0.2. You can try different values of the multiplication until you get the image you want. some give very pretty results. check out lots of values.
SUM=file1+0.2*file2;
it is exceedingly simple to do and the results are very nice.
have success, let me know how it went.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!