Colour Algorithms For Monotonic Nonlinear Cmos Image Sensors