In many applications of image processing there is a need to extract the solid background which it is usually sky for outdoor images. In our application we present this solution. We developed an automatic algorithm for detection and extraction of sky regions in the color image based on color classification.
In which the input image should be in the RGB color space and the blue color is detected and classified. Then the color image is transformed to the binary form and the connected regions are extracted separately.
The connected regions are then sorted in a descending order according to the biggest area and the biggest region is identified. Then we merged all objects that have similar sky properties. Experimental results showed that our proposed algorithm can produce good results compared to other existing algorithms.
Source: University of Gävle
Author: Abdelrahman, Ahmed