Making Gif of the images using MATLAB
In this tutorial you will learn about how to make Gif of the images while they are kept in One folder we make the Gif of all the images...
STEP1; Keep all the images in one folder with the Folder Name = Images
STEP2; Open MATLAB program
STEP3; Click On "New Script" in Home menu
STEP4; Write the Following Code in that Script
dd = dir('Images/*.JPG');
for i=1:length(dd)
img = imread(['prac/' dd(i).name]);
imshow(img);
pause(1);
end
STEP5; Now Save the Script with any Name for example; "test" and this script must be saved outside the "Images" directory where the images are stored.
STEP6; Now in MATLAB program write "test" and it will show all the images one by one with a short period of time.