 The quantity of picture elements (pixels) in the image sensor is usually counted in millions and called "megapixels".Sensor pixel density sets a limit on the final output resolution of images captured with that sensor.Other factors, such as the effect of a Bayer pattern or other filter on the digital sensor and the image processing algorithm used to interpolate raw sensor data to image pixels.