This is a very nice post which teaches you some of the basics of PIL (python imaging library) . Make sure that you read it if you are interested in images.
I wanted to extract each pixel values so that I can use them for locating simple objects in an image. Every image is made up of pixels and when these values are extracted using python, four values are obtained for each pixel (R,G,B,A). This is called the ,G,B,A). This is called the RGBA colour space having the Red, Green, Blue colours and Alpha value respectively. The Alpha values indicate thecolour space having the Red, Green, Blue colours and Alpha value respectively. The Alpha values indicate the
The Alpha values indicate the transparency or the background factor in the image. a “.png” image, for example, can be without a background and is said to be transparent.
In python, we use a library called PIL (python imaging Library). The modules in this library are used for image processing and has support for many file formats like png, jpg, bmp, gif etc. It…
View original post 344 more words