image treatment and double exposure effect

1 visualización (últimos 30 días)
theofania giota
theofania giota el 12 de Jul. de 2018
Respondida: Carynelisa Haspel el 5 de Dic. de 2019
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!

Respuestas (1)

Carynelisa Haspel
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.

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by