image treatment and double exposure effect
Afficher commentaires plus anciens
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!
Réponses (1)
Carynelisa Haspel
le 5 Déc 2019
1 vote
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.
Catégories
En savoir plus sur Images dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!