-
Book Overview & Buying
-
Table Of Contents
Hands-On Image Processing and Computer Vision with Python - Second Edition
By :
In this chapter, we dive deeper into advanced techniques for transforming and enhancing images using various Python libraries. Building on foundational concepts, we explore a range of manipulations, from adjusting the resolution and color grading to simulating complex visual effects such as lens blur, vignetting, and fisheye distortion.
We will leverage popular libraries such as PIL, opencv-python, SciPy, Wand, Matplotlib, and Pilgram to apply transformations that modify an image’s structure, color, and visual appeal. You’ll learn how to interpolate images, apply Look-Up Table (LUT)-based color corrections, implement homography, and even recreate Instagram-like filters.
We’ll cover the following key topics:
opencv-pythonscipy.ndimage
Change the font size
Change margin width
Change background colour