A CMOS image sensor for video compression and the evaluation