1. An image sensor apparatus, comprising: an image sensor for generating image data corresponding to an optical image; a color filter array customized for a lens distortion model; and a processor for processing the image data with a plurality of distortion correction routines to generate a digital image.