In all the previous chapters, we have focused on ways to import, manipulate, process, and save static images using MATLAB, in numerous manners and for various goals. Now, it is time to slowly indulge in the peculiarities of video processing, using MATLAB as our only tool. We will start with explaining the nature of videos and the ways they can be created. Some necessary theoretical details about videos will be explained, followed by instructions on how to load and view videos in MATLAB. Then, we will continue with ways to create video streams using static images. These are the fundamentals of time-lapse videos, so by the end of this chapter you will be able to make your first time-lapse video using MATLAB. Finally, we will provide another way to save your time-lapse sequence, which is in gif format.
In this chapter, we will learn:
The basic principles of digital video processing
The significance of frame rates
How we can load videos...