How to create fade gif image OUT OF 6 IMAGES AS GIVEN IN PICTURE?

4 visualizaciones (últimos 30 días)
Can someone illustrate in MATLAB the given effect with complete code?
Convert gradually from first image to last image(total 6 images);

Respuesta aceptada

darova
darova el 30 de Oct. de 2019
Read about gif animation in help
Here is an idea:
n = 5 % number of changes between images
for i = 1:n
I = (I1*(i-1) + I2*(n-i))/(n-1); % average image
end
% I = (I1*0 + I2*4)/4
% I = (I1*1 + I2*3)/4
% I = (I1*2 + I2*2)/4
% and so on
  4 comentarios
edusadiq
edusadiq el 3 de Nov. de 2019
It works 100%.
Thank you darova. You really did it.
I'll be happy if you reply for later questions of mine!
darova
darova el 3 de Nov. de 2019
  • I'll be happy if you reply for later questions of mine!
I'll be happy too. Ask!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by