Understanding Cmos Image Sensor