A reconfigurable CMOS imager for real-time, spatio-temporal image processing with on chip ADC