A CMOS HDR Imager with an Analog Local Adaptation