Do you work in RGB colorspace to determine blue-color class pixels? Try using HSV or better CIE-L*a*b instead, they are better suited to distinguish colors regarding their crominance and luminance.

Last edited by HeelX; 01/18/10 11:48.