Sunday, June 12, 2011

Measuring sharpness: MTF

There are so many things I want to discuss about MTF... But I guess we have to start slowly.

Sharpness is the ability of an imaging system to reproduce the contrast changes in the scene. If those contrast changes happen smoothly, then the system doesn't need to be sharp. For instance: Taking a picture of a gray wall! Unless one is interested in the textures on the wall, an imager with a very soft lens could do a good job capturing the scene.

Here is a photo I took that has mostly soft edges:
Rainbow

On the other hand, very high variations in the image (= "high frequency patterns") require the imager to either out-resolve or low-pass the scene:
crowded picture

(landscapes, trees: all these are good tests for sharpness!)

Typically, slow contrast changes are easy to reproduce while quick variations are more difficult. Also, low-contrast changes (say: gray to slightly darker gray) are easier to reproduce than high contrast changes (e.g.: black to white).

In short: high frequency + high contrast = problem! Low-frequency + low contrast = easy!

To analyze sharpness, we can take pictures of sharpness patterns and analyze them. A very intuitive pattern is a succession of black and white lines, also called "line pairs". By making line pairs alternate more and more finely and taking a picture of the pattern one can assess the resolving limits of an imager. This is what DPReview does when analyzing a new camera for instance.

Line-pairs are a great way to measure sharpness "manually", i.e. with someone taking a look at a chart and deciding where the system limit is. However, it is difficult to automate such measurement. This spec from CIPA is (from what I've heard) used by Japanese camera makers but (still from what I've heard) fails to produce repeatable results or a consistent threshold to the system resolution. Let me know if you've heard otherwise: I'm very interested!

MTF is in theory a way to measure the maximum contrast an imager could reproduce for a given frequency. There is a good explanation of MTF on the Imatest website. Example: If I have a pattern that changes very slowly, then the imager should be able to reproduce this change very faithfully. If the pattern changes extremely quickly then it is more difficult for the imager to record this change. "Faithfully", in MTF language, translates to "100%", and the higher the frequency of the chart, the more difficult it is to reproduce, so the more this number will drop.

We are mostly interested in some key MTF levels: MTF50, since 50% of the original contrast is still somewhat acceptable, and the results beyond 50% are not stable and not telling. MTF30: 30% contrast is very low and most likely unacceptable, so MTF30 can also be used to somewhat define the threshold of acceptability.

Next post: All the shortcomings of MTF!!

No comments:

Post a Comment