I would like to write a function to help determine the amount of cloud cover in a day using the oktas ranges.
see
http://worldweather.wmo.int/oktas.htm for Oktas scale.
My theory is that using a webCam image we could take a sky portion of the image (maybe the top 1/2) and then divide that into 16 squares.
From that we could reduce the colors in the image to 16.
We could then determine if the colors in the image are White, Silver, Grey, Blue or something else.
From this we could calculate the Oktas scale and also a cloud density value as well.
The Oktas scale really covers is there any blue in the area and if so what %.
If we had blue and white and gray then we have potentially a cloudy day with rain clouds?
Your thoughts on this approach?
I am trying at the moment to determine if a RGB Pixel is blue or not. Since to a human any share of blue is blue I need to reproduce that foruma in a function and even though it sounds easy I am not having a lot of luck yet.
Chris