Vertte

PIllow (PIL : Python Imaging Library) 본문

vision

PIllow (PIL : Python Imaging Library)

vertte epsilon- 2021. 5. 17. 02:06

i like reading python library documentation.

Today is sunday ,so i started finding which documentation i'm gonna read

in this week,doing object detection project, i saw some pil functions that handled image in code.

In point of handling image, i think there're these libraries ;PIL, torchvision(in torch),OpenCv

In this post , I'm gonna introduce PIL ! (it may have prejudice opinions) 

In near future, I also introduce another libraries (torchvision , openCV)

 

PIL stands for Python Imaging Library, i first thought it stands for Preprocessing Image Library,;;;

Goal 

> Archiving image as a PIL class in program 

> Preprocessing

   > Physical change(?) : cutting, pasting, merging(rgb:r+g+b) ,rotating ,spliting (into r,g,b)

   > color transform : RGB > Grayscale

   > Image enhancement : can approach in pixel unit ,can change contrast , saturation, brightness,hue ...

> Drawing 

   > rectangle

   > text

> Etc : handling sequence image(gif,fli/flc(i dont know this fli ) ) ,ways of reading from diverse formated files

 

 

 

>reference

simple tutorial blog : https://m.blog.naver.com/PostView.nhn?blogId=heennavi1004&logNo=222061254736&proxyReferer=https:%2F%2Fwww.google.com%2F 

simple pillow code ,intuitive :https://github.com/epsilon-deltta/sl-for-dl/blob/master/vision/vision_lib.ipynb

Documentation of PIL : https://pillow.readthedocs.io/en/stable/handbook/tutorial.html#

 

 

 

  

 

'vision' 카테고리의 다른 글

PIllow (PIL : Python Imaging Library)  (0) 2021.05.17
0 Comments
댓글쓰기 폼