Performance analysis of a color CMOS photogate image sensor