The algorithm is also provided with guidelines such as telling it that pixels near the top of the image are more likely to be sky than pixels at the bottom, and the sky is likely to be various shades of blue.