A CMOS Image Sensor with Low-Complexity Video Compression for Wireless Sensor Networks