Compensation for Process and Temperature Dependency in a CMOS Image Sensor