Welcome back.
In this section we're going to discuss about Open CV.
Open CV is an open source, computer vision and machine learning software.
Open CV was built to provide a common infrastructure for computer vision applications and also to accelerate
the use of vision perception in the commercial products.
This library has more than 2500 plus optimized algorithms, which includes a comprehensive set of both
classic and state of art, computer vision and machine learning algorithms like object detection, classifying
the human actions in videos, object tracking, 3D modelling, etc..
Currently, Open CV is now became one of the most popular and widely used library for developing the
computer vision applications.
Companies like Google, Yahoo, Microsoft, Intel, IBM, etc. are using the open CV as the first choice
and working on the image processing applications.
OpenCV currently supports the many languages like C++, Python, Java, MATLAB, JavaScript, etc..
And this makes OpenCV is one of the best libraries for working on the computer vision applications.
Now let's look into some basic concepts about the image and processing.
Let's talk about the image.
The definition of an image is basically the visual representation of something.
And inmates can also be defined as a picture that is created by the combination of vectors or values.
Sometimes it is described as a vector graphics or raster graphics.
Usually this image is stored in the bitmaps like eight bit, 16 weight, 24 bit, etc..
And the common format that was used to store an image is JPEG, jpg, PNG, gif and TIFF.
Usually OpenCV supports the JPEG jpg and PNG.
And the images that we are walking in the open CV is always the JPEG, JPG or PNG.
Color image is a combination of three channels, typically called AGB.
Basically an image is a combination of three channels Red Channel, Green Channel and Blue Channel.
Each and every channel displays the information about the respective image.
But example, if you look into the image, it's on the left hand side.
That image is basically contains a three different components.
One is red, green and blue.
Red actually displays the information about the red region.
Green usually displays the information about the green region.
And blue will basically gives the information about the blue region.
And here you can notice that the inmate, which are basically having the higher values or the values
which are in the white color, is basically the give the information where the color is.
For example, if you consider this image and this portion of the image contains the red color, and
similarly, this portion of the image is contains the blue color and so on.
Typically if you look into this image and what we have is a 343 rose and 473 columns and three is basically
a defines the color of the image that is R, g b which actually gives the information about respect
to color.
But information perspective, if you see red, green and blue basically holds a same level of information.
That's the reason usually in image processing, instead of working on three Matrix, having the same
information, we will usually work on only one matrix.
That is called grayscale image, which means is actually the average of the three different matrix,
which is red plus green plus blue and divided by three.
And that is our grayscale image.
And this is only one matrix what we have, which is 343 by 473.