## Introduction to SQF and Acutance

** SQF (Subjective Quality Factor) **and

**are measures of perceived print or display sharpness. SQF was used for years in the photographic industry but has remained unfamiliar to most photographers; acutance is relatively new. Both include the effects of**

*acutance***MTF**: the imaging system’s Modulation Transfer Function, which is synonymous with Spatial Frequency Response (SFR),**CSF**: the human eye’s Contrast Sensitivity Function (closely related to its MTF response, but including a low frequency rolloff),**image display height**, and**viewing distance**.

SQF was introduced in the paper, “An optical merit function (SQF), which correlates with subjective image judgments ,” by E. M. (Ed) Granger and K. N. Cupery of Eastman Kodak, published in Photographic Science and Engineering, Vol. 16, no. 3, May-June 1973, pp. 221-230. (If you do an Internet search, note that Granger’s name is often misspelled Grainger.) It was used by Kodak and Polaroid for product development and is used by Popular Photography for lens tests. This technical paper verified its correlation with viewer preference. But SQF is rarely mentioned on photography websites with the notable exception of Bob Atkins‘ excellent description, which includes an explanation of Pop Photo’s methods.

* Acutance* is a perceptual measurement that is closely related to SQF, but differs in the details of the equation. It was introduced in the I3A CPIQ (Camera Phone Image Quality) Phase 2 specification, which defines it, but gives little indication of how it should be displayed. Imatest displays it in exactly the same way as SQF.

SQF and Acutance can be measured in ** Imatest** SFR, SFRplus, Star, Random/Dead Leaves, and eSFR ISO.

## SQF (or Acutance) and MTF

The following table compares MTF and SQF (and acutance). In essence, MTF is a measurement of * device* or

*sharpness; SQF and acutance are measurements of perceived print sharpness, derived from MTF, the contrast sensitivity function (CSF) of the human visual system, and an assumption about the relationship between print height and viewing distance.*

**system**MTF (Modulation Transfer Function) |
SQF (Subjective Quality Factor) or Acutance |

Measures image contrast as a function of spatial frequency. Describes or device sharpness. system related to perceived image sharpness in a print or display.Indirectly |
Measures perceived sharpness as a function of print or display height and viewing distance. Describes . Requires an assumption about viewing distance (can be constant or proportional to the square root or cube root of print height).viewer experience |

Omits viewing distance and the human visual system. | Includes the effects of viewing distance and the human visual system. |

Plots of MTF (contrast) vs. spatial frequency require technical skill to interpret.Abstract: |
Plots of SQF (perceived sharpness) vs. print height require little interpretation. SQF has the same subjective meaning regardless of print size. It can be used to Concrete: answer questions like, “How much larger can I print with a 12.8 Megapixel full-frame DSLR than with an 8.3 Megapixel APS-C DSLR?”precisely |

1.0 at low spatial frequencies. Decreases at high spatial frequencies, but may peak at intermediate frequencies due to sharpening. A peak over 1.4 indicates , which can result un unpleasant “halos” at edges, especially for large print sizes.oversharpening |
100 (%) for small print heights. Decreases for large print heights, but may increase at intermediate print heights due to sharpening. A peak value over about 105% may indicate oversharpening (and over 108% indicates oversharpening). In such cases you should examine the MTF plot and edge profile.definitely |

The frequency where it drops by half (MTF50) is a reasonable indicator of relative perceived sharpness, but requires interpretation and is not as precise as SQF. | An SQF difference of 5 corresponds to a perceptible change in in sharpness— somewhat more than one “Just Noticeable Difference” (JND). SQF can be used as the basis of a ranking system. |

Gradually becoming familiar to a wider public, though vanishing resolution is still better known.Familiar to imaging scientists |
SQF was used internally in Kodak and Polaroid, but difficult to measure prior to the advent of digital imaging; acutance is relatively new.Unfamiliar |

(MTF, SQF, and acutance) are strongly affected by sharpening, which is routinely performed to improve perceived sharpness, hence SQF would be expected to increase.All the measurements |

SQF is calculated as a part of the SFR, SFRplus, Star, Random/Dead Leaves, and eSFR ISO modules. To display it, check the SQF/Acutance checkbox in the settings box, making sure the SQF settings (described below) are appropriate. Here is a sample result.

The large plot on top shows SQF **without** ( **——** ) and **with** ( **- – -** ) standardized sharpening for print heights from 5 to 60 cm (~2 to 24 inches), assuming viewing distance (cm) = 30 v(picture height/10). For this mildly oversharpened camera, standardized sharpening * decreases* the sharpness (removes the strong overshoot), and hence reduces the SQF, which is highly sensitive to sharpening. The large plot also shows viewing distance (

**- – -**). The plot on the lower right is the MTF without and with standardized sharpening, displayed in the main SFR/MTF figure, but repeated here to make this figure self-contained. The lower middle contains a thumbnail of the image showing the selected ROI in

**red**. The text on the left contains calculation details and image properties.

## What do the SQF and acutance numbers mean?

**SQF—** Ed Granger developed SQF to be linearly proportional to perceived sharpness. A change in SQF of 5 corresponds to a perceptible change in in sharpness— somewhat more than one “Just Noticeable Difference” (JND). Since we do not have our own database of SQF impressions we’ll draw on the experience of others.

Popular Photography has been using SQF for testing lenses for years. They’ve developed the only generally-available SQF ranking system. Their scale isn’t quite linear. {C, C+} takes up 20 SQF units; twice as many as {A, A+}, {B, B+}, or D. But it seems to be a good starting point for interpreting the numbers.

A+ |
A |
B+ |
B |
C+ |
C |
D |
F |

94-100 |
89-94 |
84-89 |
79-84 |
69-79 |
59-69 |
49-59 |
Under 49 |

We encourage readers to examine Popular Photography‘s lens test results and to search its site for SQF. Imatest results should correlate with * Pop Photo*‘s results, but there are a few significant differences.

measures SQF for lenses alone, while Imatest measures SQF for the entire imaging system. This means that Imatest results are sensitive to signal processing (sharpening and noise reduction; often applied nonlinearly) in the camera and RAW converter. This makes is difficult to compare lenses from measurements taken on different cameras. On the other hand, it means that you know what your camera/lens combination can achieve, and it’s excellent for comparing lenses measured on one camera type (with consistent settings).*Pop Photo*‘s algorithm for calculating SQF (the SQF equation and the viewing distance assumption; both discussed below) is not known.*Pop Photo*

Quality as a function of SQF

The scale on the right was developed by Bror Hultgren, based on extensive category scaling tests. According to Bror, the perceived quality level depends on the set of test images (particularly how bad the worst of them is) as well as the task (e.g., a group of cameraphone users would rank images differently from a group of art gallery curators), but the relationships between categories remains relatively stable. These levels are comparable to Popular Photography’s scale.

Additional considerations in interpreting SQF:

- SQF has the same interpretation regardless of print size. That means a print with SQF = 92 would have the same quality “feel” for a 4x6 print as for a 24x36 inch print. This is in contrast to MTF measurements, where MTF measured at the print surface is interpreted differently for different sizes of prints: you tend to accept lower MTF for larger prints because you view them from larger distances (though the relationship, described here, is far from linear). Viewing distance is built into SQF.
- The SQF calculation omits printer sharpness (for now). It assumes that modern high quality inkjet printers can print as sharp as the unassisted eye can see at normal viewing distances— a fairly safe assumption for large prints (= 20 cm high).

**Acutance—** The CPIQ document defines an “*objective metric*” (*OM* = 0.8851 – *acutance* for *acutance* = 0.8851; *OM* = 0 otherwise) that increases with increasing blur. It claims that perceived quality does not improve for acutance greater than 0.8851. The result of a rather complicated equation shows that a change in OM of 0.02 (2%) corresponds roughly to 1 JND.

## Measuring SQF or Acutance

SQF or Acutance can be measured in ** Imatest** SFR, SFRplus, Star, Random/Dead Leaves, and eSFR ISO You need to check the

**SQF/Acutance**checkbox in the Settings box and be sure the Speedup checkbox is unchecked. Settings will be remembered in succeeding runs.

Imatest SFR input dialog, showing SQF/Acutance

Clicking on **SQF** checkbox opens this dialog box for setting SQF options. Most of the time you’ll want to leave them unchanged (except for **Maximum print height**, which doesn’t affect the calculations) at their default values, which you can always restore by pressing or .

**One of the two Presets**, **1. Standard SQF**, or **2. CPIQ acutance**, is recommended. The other settings, accessed by 3. Custom calculation, are experimental and do not produce standard results.

Viewing assumption allows four choices.

**Fixed viewing distance**, which can be selected in the**Base viewing distance…**box.**Viewing distance Square root of PH (15 cm min.)**(the default setting) assumes that viewing distance is proportional to the square root of the picture height, (*d*= (base distance) (*PH*/10)^{1/2}), with a minimum of 15 cm. This is the recommended setting, appropriate for typical gallery viewing. We tend to look at large prints at greater distances than small prints. With this assumption, if you viewed a 4x6 inch print at 12 inches (a number often found in the literature), you would view a 16x24 inch print at 24 inches.**Viewing distance = Cube root of PH (15 cm min.)**assumes that viewing distance is proportional to the cube root of the picture height, (*d*= (base distance) (*PH*/10)^{1/3}). With this assumption, if you viewed a 4x6 inch print at 12 inches (a number often found in the literature), you would view a 32x48 inch print at 24 inches. This seems to be a little close, but may be appropriate in some situations.**Fixed print height; Distance from 1 cm to max.**This option is different from the others. Maximum viewing distance (cm) and Print height (cm) are entered instead of Base viewing distance and Maximum print height. SQF is plotted for viewing distances from 1 cm to the maximum for the fixed print height.

Of course Viewing distance is a broad average: we often move in and out when we critically examine a print. But some assumption must be made for the SQF/Acutance calculation to proceed. We believe that choice 2, Viewing distance proportional the square root of the picture height, best represents the typical impression of sharpness for a range of prints. But many developers require an analysis at a fixed viewing distance or display size.

Base distance Defined according to the **Viewing assumption **setting. It should be left at its default value of 30 cm (12 inches) unless there is good reason to change it. 34 centimeters has also been used for measuring perceived quality in 10 cm high (4x6 inch) prints.

For **1. Fixed viewing distance**, base distance is the viewing distance in cm.

For **Viewing distance** = **2. Square root** or **3. Cube root** (of picture height), base distance is the viewing distance for 10 cm (4 inch) high prints.

Maximum print height is the maximum to plot. (Note that the height setting assumes landscape orientation: wider than tall.) It has no effect on the calculations. The default is 40 cm (16 inches), which is about as large as prints from consumer digital cameras get. Picture heights of 60 cm (24 inches) and larger are of interest to users of professional-quality digital SLRs. 20 cm is a stretch for camera phone images.

**Maximum print height**, which has no effect on the calculations.) We recommend keeping all settings at their default values, unless there is good reason to change them. This will help ensure standardized measurements and minimize confusion.

**Viewing distance for readout (cm)** (for **4. Fixed print height**) or **Image height for readout (cm)** (for **1. Fixed viewing distance**) specifies a single viewing condition (distance and image height) for a readout on the SQF/Acutance plot.

## The SQF equation

Following the convention elsewhere in the Imatest site, we put the math in **green boxes**, which can be skipped by non-technical readers. The gist of the box below is that Granger presented the full equation for calculating SQF in 1972, but he used a simplified approximation for his calculations. Although the exact equation is strongly recommended, Imatest can use the simplified approximation where needed for comparing new and old calculations. In reviewing older publications, you should determine which calculation was used.

The exact equation for SQF implied by Granger is, where CSF( Since Granger had limited access to sophisticated computers (the average personal computer today has about as much power as the entire Pentagon had in 1972), he used an an approximation for his calculations assuming that CSF( SQF =
Although Imatest offers the option of using this approximation (as a check on older calculations), the exact equation is recommended. The integration limits used by Granger and Cupery were 10 and 40 cycles/mm in the retina of the eye, which translate to 3 and 6 cycles/degree when the eye’s focal length ( To calculate SQF it is necessary to relate spatial frequency in cycles/degree, which is used for the eye’s response CSF(
where
In images with long transitions (10-90% risetime |

Acutance = [∫ where
where
Note that this value of |

## Contrast sensitivity function (CSF)

Contrast sensitivity function

The human eye’s contrast sensitivity function (CSF) is limited by the eye’s optical system and cone density at high spatial (or angular) frequencies and by signal processing in the retina (neuronal interactions; lateral inhibition) at low frequencies. Various studies place the peak response at bright light levels (typical of print viewing conditions) between 6 and 8 cycles per degree (around 4 for the CSF equation used for acutance). We have chosen a formula, described below, that peaks just below 8 cycles/degree.

You may learn something about your own eye’s CSF by viewing the chart below at various distances and observing where the pattern appears to vanish. Chart contrast is proportional to (*y*/*h*)^{2}, for image height *h*. To my eyes (which underwent Lasik refractive surgery in 1998 to correct for 10 diopter nearsightedness) it *appears* that the peak in the curve on the right should be considerably broader. But this isn’t quite the case because of the eye’s nonlinear response to contrast. Although the chart below *appears* to decrease in contrast linearly from top to bottom, the middle of the chart has 1/4 the contrast as the top.

Log frequency-Contrast chart, created by Test Charts.

The Log F-Contrast chart is very similar to the Campbell-Robson CSF (Contrast Sensitivity Function) chart,

which was first published in 1968. The (vertical) contrast variation is quite different for the two charts.

For SQF, we have chosen a formula that is relatively simple, recent, and provides a good fit to data. The source is J. L. Mannos, D. J. Sakrison, “The Effects of a Visual Fidelity Criterion on the Encoding of Images”, IEEE Transactions on Information Theory, pp. 525-535, Vol. 20, No 4, (1974), cited on this page of Kresimir Matkovic’s 1998 PhD thesis. CSF( The 2.6 multiplier drops out of SQF when the normalization constant CSF( The preferred SQF equation, SQF = |

More geek stuff (additional equations, not used, but can be selected) Some additional equations are included in the SQF options for experimental study. where
These equations were developed to address concerns about d(log Granger used d(log _{10} (comparable to density measurements), log_{2} (comparable to exposure value or f-stop measurements), or log_{e} (in accordance with Boulder, Colorado community standards, where only organic, natural logarithms are employed)? We’ve chosen not to pursue these equations for now. |

## Links

Bob Atkins‘ excellent introduction to MTF and SQF is highly recommended.

Popular Photography has been using SQF for testing lenses for years. Their test results are well worth exploring.