0% found this document useful (0 votes)
10 views

Tech Inspire

Uploaded by

darshith15m
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Tech Inspire

Uploaded by

darshith15m
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

TECH INSPIRE

COME LETS COMMUNICATE WITH PLANET B


IMAGE PROCESSING
 Certain operations performed on the image.
WHY PYTHON ?
• Python is a very powerful language which is used for purpose of Image
processing, Artificial intelligence, Machine learning since it is handy and
contains almost all the function for the above purposes.
• Libraries in Python useful for Image processing:
 Numpy : Used for comprehensive mathematical functions. Ex: It is Used
to generate random numbers
 Pillow : Used to perform basic IP operations
 Open cv: Particularly for computer vision tasks.
STORY
OF THE ALIENS
READING AND WRITING THE IMAGE
USING PILLOW

-open() function is used for reading.


-show() to write
-close() to close.

SYNTAX:
Object_name=Image.open(“file path”)
Object_name.show()
READING AND WRITING THE IMAGE
USING OPEN CV
-imread() function is used .
-Two parameters which specifies path and how to load
image.
-imshow() to write
-destroyAllWindows() to close.

SYNTAX:
 cv2.imread(“path ”, “flag”)
 cv2.imshow(“image”, “image_name”)
Operations performed:
 Rotating
 Resizing
 Splitting
 Merging
 Smoothing edge
 Finding edge
 Bluring
color
Your
imagination
E WITH
ALIENS
 Tilt the image to 30 degree
 Resize to 1000:1000 ratio
 Split and merge in format of b,r,g
 Find edges
 Blurring
thaNKYOU

You might also like