In the previous chapters, we covered how many of the common techniques, used for image processing, can be implemented using MATLAB. This chapter is a little bit more advanced in terms of the complexity of the algorithms covered, but we will present them in a gentle, introductory manner. The results will be more than interesting, since you will get to learn how to mix, or combine multiple images to create new ones, either for scientific purposes, or for pure artistic results. More specifically, in this chapter, we will cover how you can work with multispectral images in MATLAB, to unveil hidden details. We will move on to panorama stitching for the creation of beautiful panoramic images and then we will show blending techniques to combine masked areas in an image with another image. Finally, we will cover the production of High Dynamic Range (HDR) images using MATLAB. All these techniques will be demonstrated in the simplest possible ways, using hands-on examples.
In this chapter, we will cover:
So, let's get started!
An obvious question for a beginner in the field of image processing, would be about what the importance of mixing images is. The answer is that the basic idea behind mixing or combining images is to enrich them and achieve the following results:
In the rest of this chapter, we will show how we can achieve many of the examples mentioned previously, using MATLAB.