How to create fade gif image OUT OF 6 IMAGES AS GIVEN IN PICTURE?
3 views (last 30 days)
Show older comments
Can someone illustrate in MATLAB the given effect with complete code?
Convert gradually from first image to last image(total 6 images);

0 Comments
Accepted Answer
darova
on 30 Oct 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 Comments
More Answers (0)
See Also
Categories
Find more on Read, Write, and Modify Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!