A Biologically Inspired CMOS Image Sensor