If you're interested in how the digital cameras in the Spirit Rover are built, how many there are, and what distinguishes these cameras and imagers, you should read the linked article. It's very interesting that NASA took the sensible approach of fewer pixels with more area per pixel.