This application is designed to separate the object and the background in the picture and remove it from the picture.
The detection algorithm consists of passing through the image by pixels and comparing two neighboring pixels. With a sudden change in RGB formulas system detects that and defines the next pixel as bound of the object in the picture. After the detection further pixel will be defined as object pixel, while RGB formulas will not be high enough (it controls with specific value parameter), and the further pixels will be defined as background pixels respectively. The main concepts is like aerodynamic flow, which flows around the object, just touching its bound surfaces.
The application opportunities:
- Detecting backgound and main object;
- Coloring background and main object;
- Deleting background and main object;
- Detecting a contour of object
The example of working process is shown below: Before finding the backgroung
After detecting the background ( it is colored in red)