In this lesson, we'll focus on the Pillow Python library, also known as PIL.
I'll show you a few basic functions and useful tricks to manipulate each and every pixel on a given image.
By the end of this video, you'll know how mathematical operations affect images and you'll be comfortable with exploring Pillow further on your own!
#imageprocessing #python #pillow #PIL #computervision
Project files & code:
https://github.com/MariyaSha/ImagePro...
Timestamps:
00:00 - Intro
01:15 - Import PIL functions
01:35 - Load an image and display it
2:17 - Image attributes: size and mode
3:16 - Plotting 2 images inline (Matplotlib)
3:36 - Multiply / Merge Images ImageChops.multiply()
4:36 - Adding Images / Finding the common area with ImageChops.add()
5:13 - Change color mode to Greyscale and Binary
6:34 - Mapping pixels / Creating image coordinates
6:59 - Accessing individual pixel values
7:44 - Converting an RGB image into Binary with a nested "for" loop
9:06 - Converting a Greyscale image into Binary with a nested "for" loop
10:19 - Selecting image regions with row and column conditions
11:30 - Invert image with ImageChops.invert()
12:30 - Rotate image with PIL.rotate()
13:18 - Gaussian Blue and Edge Detection with ImageFilter
15:10 - Outro, thanks for watching! :)
Pillow documentation:
https://pillow.readthedocs.io
On this page of the site you can watch the video online Image Processing with Pillow - a Python Code-Along with a duration of hours minute second in good quality, which was uploaded by the user Python Simplified 01 January 1970, share the link with friends and acquaintances, this video has already been watched 57,733 times on youtube and it was liked by 1.3 thousand viewers. Enjoy your viewing!