Who responded to the light color by the eye is the light appeared (visible spectrum) with a wavelength ranged between 400 (blue) to 700nm (red).
The colors are accepted by the human eye is the result of a combination of light with a long different waves. These colors called the basic colors (primaries) with the basic color red (R), green (G) and blue (B). Other colors can be obtained by mixing three basic colors with a certain ratio that will produce color C with the following formula C = RR + GG + bB)
If scalar r, g, b we give the price between 0 and 1, then all the definitions will be in color cube as shown below:
Detection System
Detection system is a system used just to know the existence of an object. Can detection systems to find the position and size of an object. This is because in most cases to know the existence of an object, the system usually object search process by doing search (scanning) and scaling, so that the will automatically get the value of the position and size of the object being detected.
SYSTEM
Here is a picture of the system will be made in This final project:
Preprocessing
At this stage the picture (image) obtained from video capture camera grayscale process is performed and quantization on the image that has been obtained. Because the This system does not depend on the color but it depends the pattern / pixel. In the process the value of the image is taken component R, G and B are then made same / flat.
Program as follows: