A sharp photo is a team effort between the lens and the sensor. A superb sensor cannot record detail a soft lens never delivered, and a superb lens can be held back by a sensor that cannot record fine detail. The two also interact in less obvious ways: strange patterns on fabric, sharpness lost at small apertures, colors shifting at the corners with some older lenses. This lesson explains how lenses and sensors work together and what that means for your choices.
A system, not two parts
The final sharpness of a photo depends on the whole imaging system: the lens forms the image, as in how camera lenses work, and the sensor samples it with its grid of photosites, as in camera sensors and digital image capture. Each part has limits, and the weaker part sets the result. That is why real-world detail depends on more than megapixels, as you saw in resolution, pixels and real-world detail.
Lens resolution and sensor resolution
| Situation | Likely limit | What helps |
|---|---|---|
| Old or budget lens on a high-resolution sensor | The lens | A sharper lens, stopping down a little |
| Excellent lens on a low-resolution sensor | The sensor | More resolution if you need it |
| Good lens, high resolution, careless technique | Focus, shake or motion | Technique, as in sharpness from capture |
Tip:A higher-resolution sensor still usually shows a little more detail even with an average lens, but the improvement becomes small when the lens is the clear limit. Many photographers find a better lens gives a bigger visible improvement than a higher-resolution body.
Moire and low-pass filters
When a very fine, regular pattern, such as fabric weave, fine mesh or distant building windows, is close to the spacing of the sensor's photosites, the two patterns interfere. The result is moire: wavy lines or false colors that are not in the real subject.
To prevent this, many cameras placed an optical low-pass filter (also called an anti-aliasing filter) in front of the sensor, which very slightly blurs the finest detail. Many modern high-resolution cameras now leave it out, because their photosites are so dense that lens limits and diffraction usually prevent moire anyway, and they gain a little sharpness.
| With low-pass filter | Without low-pass filter | |
|---|---|---|
| Fine detail | Very slightly softer | Slightly crisper |
| Moire risk | Lower | Higher with fine repeating patterns |
| Common in | Older and some video-oriented cameras | Many modern high-resolution cameras |
If moire appears, change your distance or angle slightly, stop down a little, or reduce it in editing. Fashion and product photographers photographing fine fabrics watch for it closely.
Diffraction and dense sensors
Diffraction softens images at small apertures, as you learned in vignetting, chromatic aberration and optical limitations. On sensors with smaller, denser photosites, the softening becomes visible at 100% a little sooner, because each photosite is smaller than the blur. This does not make high-resolution cameras worse; it means that at very small apertures they lose their resolution advantage.
Practical rule: use the aperture your depth of field needs, but avoid the smallest apertures by habit, especially on high-resolution and small-sensor cameras.
Corner problems and adapted lenses
A sensor has a thin stack of glass in front of it (filters and cover glass). Modern lenses are designed with this stack in mind. Some older lenses, especially wide-angle lenses designed for film rangefinder cameras, send light toward the corners at steep angles. On digital sensors this can cause soft corners, color shifts or dark edges. Lenses adapted from other systems may show these problems or lose features such as fast autofocus, as noted in how camera lenses work.
Lens corrections and stabilization
- Lens profiles: cameras and editing software correct distortion, vignetting and color fringing for known lenses, as in lens distortion. Some modern lenses are designed to rely on these corrections.
- Stabilization: many cameras combine in-body stabilization with lens stabilization for stronger correction, helping keep high-resolution images sharp; introduced in sharpness from capture.
- Autofocus: lens focus motors and the camera's autofocus system work together; older or adapted lenses may focus more slowly.
Common mistakes
- Upgrading the body when the lens is the limit: a better lens may help more.
- Using f/22 by habit on a high-resolution camera: diffraction removes the extra detail.
- Ignoring moire on fabrics: it can be hard to fix later.
- Expecting adapted lenses to behave like native ones: corners and autofocus may suffer.
How professionals match lenses and sensors
Professionals invest in lenses that can deliver the detail their sensors record, especially with high-resolution bodies. They know their lenses' sharpest apertures, watch for moire when photographing fabrics and architecture, and use lens profiles as standard. When testing equipment, they test the combination of lens and body together, which is the approach explained in testing lenses, lighting and techniques.
Practical examples
Moire on a suit
- Situation
- A businessman's finely striped suit shows colorful wavy patterns in your photos.
- What to do
- You step back slightly and shoot from a slightly different angle.
- Why it works
- Changing the pattern's size on the sensor stops it interfering with the photosite grid.
- Result
- The suit's stripes look normal.
A new high-resolution body
- Situation
- After upgrading to a 45-megapixel camera, your old kit zoom looks soft.
- What to do
- You add a high-quality prime lens.
- Why it works
- The lens, not the sensor, was limiting sharpness.
- Result
- The extra resolution becomes clearly visible.
Key points
- Sharpness comes from the lens and sensor working together; the weaker part sets the limit.
- Moire appears when fine patterns interfere with the photosite grid; low-pass filters reduce it at a small cost in sharpness.
- Many modern high-resolution cameras omit low-pass filters.
- Diffraction becomes visible sooner on dense sensors at small apertures.
- Older and adapted lenses can show corner problems; lens profiles and stabilization help the system work together.
Frequently asked questions
Is a better lens or a better sensor more important?
What is moire?
What is an anti-aliasing filter?
Why are my old lenses soft in the corners on digital?
Conclusion
Lenses and sensors form one imaging system: the weaker part limits sharpness, fine patterns can cause moire, dense sensors show diffraction sooner, and corrections and stabilization help them work together. Choose and test lens and body as a pair. Next, you will learn how to judge image quality as a whole, beyond megapixels.
Finished reading? Track your progress through Sensors and RAW.