Summary

This chapter was dedicated to intra-frame and inter-frame techniques for video filtering, which can be used for a variety of tasks. We discussed basic video manipulations, such as resizing, rotating, mirroring, and cropping, and proceeded to frame-by-frame spatial filtering of a video. Then, we focused extensively on a very common process in video processing, which is deinterlacing an interlaced video stream. Methods for intra-frame and inter-frame deinterlacing were discussed, as well as fusion of the two. For these processes, several advantages and disadvantages were brought to the surface and discussed. Finally, we discussed spatiotemporal filtering of videos and focused especially on spatiotemporal averaging. All these were presented and discussed with real examples and exercises. More specifically, in this chapter we discussed:

  • Cropping and resizing video streams
  • Rotating video streams and checking for errors
  • Reducing the blocking effect using spatial filtering
  • Intra-frame filtering for video deinterlacing, using the Computer Vision System Toolbox
  • Intra-frame deinterlacing of videos using line repetition
  • Intra-frame deinterlacing of videos using line interpolation
  • Inter-frame deinterlacing using field merging
  • Inter-frame deinterlacing using field averaging
  • Mixing intra-frame and inter-frame de-interlacing
  • Applying spatiotemporal averaging to a grayscale video
  • Using convn to apply spatiotemporal averaging

In the next and final chapter, we will discuss various real-life video processing tasks, such as motion detection, video stabilization, feature selection, and three-dimensional image and video processing. We will use intriguing hands-on exercises to demonstrate how these tasks can be implemented in MATLAB and discuss their implications and ways to tackle them efficiently.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset