Project Based Learning (A.I).pptx detail explanation
Image processing python
1. Realized by:
o Imran YAZIDI
o Khadija OUCHATTI
Guided by:
SIDI MOHAMED BEN ABDELLAH UNIVERSITY
THE POLYDISCIPLINARY FACULTY OF TAZA
MPCS DEPARTMENT
MASTER INELEGENT SYSTEM & MOBIL
o Mr S.AKHRAZ
106/03/2020
4. What is the digital image ?Intorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
A digital image is a representation of a real image as a set of
numbers that can be stored and handled by a digital computer.
In order to translate the image into numbers, it is divided into
small areas called pixelsI.P &research
4
5. Digital imageIntorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Types of digital images
o Binary images:
0,1 or 0,255
o Gray-scale images:
[0,255]
o Color images :
- CMY (cyan-magenta-yellow) - RGB (Red-Green-Blue)
• Passive displays, such
as color printers
• This is a subtractive
color model
• Active displays, such as
computer monitors
• This is an additive color
model
I.P &research
5
6. The RGB imageIntorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
I.P &research
o RGB images :
R:[0,255]
G:[0,255]
B:[0,255]
o P(x,y)=[220,100,0]
o So essentially, any color can be encoded as three
numbers .. one each for red, green, and blue.
6
7. The RGB imageIntorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
I.P &research
7
8. Image processingIntorduction
Digital image
Image processing
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Applications of I.P
DIP(digital image processing) :
is a method to perform some
operations on an image, in order
to get an enhanced image or to
extract some useful information
from it.
I.P &research
8
9. Applications of image processingIntorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Medical Imaging
I.P &research
9
10. Applications of image processing
Smart vehicle
Driver hypovigilance detection
Intorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
I.P &research
10
11. Applications of image processing
Tracking of players, of the ball
Sports Videos
Intorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
I.P &research
11
12. Applications of image processing
• Facial recognition
Intorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Biometric identification / verification
• Fingerprint
• Iris
I.P &research
12
13. Applications of image processing
Improvement, image restoration
Information extraction, pattern recognition
Visualization, 3D reconstruction, computer
generated image
Intorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
I.P &research
13
14. Applications of image processing
Handwriting recognition
Intorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
I.P &research
14
15. Applications of image processing
Search for images by content
Intorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
I.P &research
15
16. Image Processing & researchs
Greatest Companies……….
Research labs
INRIA, ONERA, INSERM, CEA, LORIA, etc…
Intorduction
Digital image
Image processing
Applications of I.P
I.P &research
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
16
17. Image processing with pythonIntorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Who do I.P
Numpy
Scikit ImageScipy
PIL/Pillow
OpenCV-Python SimpleCV
Mahotas Pycairo
Python librairies used in image processing 17
18. Image processor 1.0Intorduction
Digital image
Image processing
Applications of I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Who do I.P
Application:
Image processor 1.0
Filter 1 filter 2 Filter 3
..
Images sources Images results
18
19. Graphical Interface
Image processor version 1.0
Intorduction
Digital image
Image processing
Applications of I.P
Who do I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
19
20. Filtres algorithms: BrightnessIntorduction
Digital image
Image processing
Applications of I.P
Who do I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Algorithm
12 43
13 56
17 48
18 61
+5
Image
source
Image
result
20
21. Filtres algorithms: RGB To grayscaleIntorduction
Digital image
Image processing
Applications of I.P
Who do I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Image
source
Image
result
Algorithm
12 43
13 56
(12+9+200)/3= 74
9 4
10 34
200 23
65 96
74 23
29 62
R G B
21
22. Filtres algorithms: RGB To white & blackIntorduction
Digital image
Image processing
Applications of I.P
Who do I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Algorithm
Image
source
Image
result
130 43
12 156
255 0
0 255
Y=x>125?255:0
22
23. Filtres algorithms: Reverse colorIntorduction
Digital image
Image processing
Applications of I.P
Who do I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Algorithm
Image
source
Image
result
130 43
12 156
125 212
243 99
Y=255-x
we subtract 255 from x
23
24. Filtres algorithms: MirrorIntorduction
Digital image
Image processing
Applications of I.P
Who do I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Image
Source:
Left to
right
Image
Result:
Right to
left
Algorithm
130 43
12 156
13043
12156
24
25. Conclusion & ProspectivesIntorduction
Digital image
Image processing
Applications of I.P
Who do I.P
I.P with python
Image Processor
Graphical
interface
Filtres algorithm
Conclusion
Conclusion
Image processing is a discipline of computer science that studies
digital images and their transformations, with the aim of
improving their quality or extracting information from them.
Python is becoming a smart choice for image processing. This is
due to its growing popularity as a scientific programming
language and the free availability of many advanced image
processing tools in its ecosystem.
Prospectives:
• Adding other filters
• Applying filter in selected areas
• Managing other image formats jpg , bmp..
• Adding Save work functionality
• Generating animated image .GIF
25