An apparatus and method for controlling gain characteristics in a CMOS
imager and for calibrating light intensity and analog to digital
conversion in a pixel array. A mask with varying sized apertures is
provided over pixels of an array outside the active area for use in
intensity adjustments and calibration.