# General: Merklinger's Approach to Estimating Depth of Field

On this page, I would like to present Harold M. Merklinger's approach to estimating depth-of-field in landscape photography, which can be seen as an alternative to using the standard depth of field approach. A special case of Merklinger's approach, namely setting the focus to infinity can also be regarded as an alternative to setting the focus to the hyperfocal distance in order to achieve sharpness from a certain distance up to infinity.

Note: On page Merklinger's Approach to Estimating Depth of Field (Extended Version), I provide more background information, including calculations.

## Introduction

A Sony RX100 M1 user from Russia made me aware of Harold M. Merklinger's approach to estimating depth-of-field in landscape photography. Admittedly, I had never heard of this approach before. He also pointed me to Kevin Boone's article Hyperfocal distances and Merklinger's method in landscape photography. In this article, Boone, among others, compares the practice of setting the focus to the hyperfocal distance in order to have everything sharp from a certain distance (which is, in fact, half the hyperfocal distance) up to infinity with setting the distance to infinity. This is actually a long-standing practice for photographers, but it can also be regarded as a special case of Merklinger's approach. Merklinger himself discusses the relationship between the two methods as well, and provides some numbers and information about the "infinity case". Thus, even if we would prefer not to subsume this case under the label "Merklinger approach", he at least, contributed useful information about it.

Merklinger also published a shorter article Depth of Field Revisited about his approach with less mathematics, but easier to understand for me.

## Merklinger's Approach

Merklinger presents his approach in the paper The INs and OUTs of Focus - An Alternative Way to Estimate Depth-of-Field and Sharpness in the Photographic Image and calls it an object field approach (see side note) to depth of field - in contrast to the conventional image field approach based on the circle of confusion (CoC). His counterpart to the CoC in the object field is the disk of confusion (DoC). Merklinger explains:

• ... instead of asking what would make all my images look acceptably sharp, I might ask what objects which I see before me will be recorded in this particular image. What will be too small or too out-of-focus to be outlined distinctly? What objects will be resolved? What surface textures will be apparent in the final image? These questions are fundamentally different from that of asking what will achieve a uniform standard of image resolution. And as might be expected, we will not get the same answers or the same advice from our calculations.
• ... we are concentrating our attention on characteristics of the scene to be recorded - the object field (see side note) - as opposed to the characteristics of the final image. There is a very real distinction to be made here. When we concentrated on the image alone, we did not take into account what was being photographed. We had decided in advance on an across-the-board image quality standard.

### Circle of Confusion (CoC)

Merklinger's "across-the-board image quality standard" mentioned above is represented by the circle of confusion (or CoC), which plays an important role in depth of field and hyperfocal distance calculations. For the following discussion, it is important to note that the circle of confusion lies on the film - that is, in the image field. The CoC is based on assumptions about how much detail the human eye can resolve when people view a photo at arm's length (about 25 cm), resulting in the CoC convention of 1/30 mm for 35 mm film (for different film/sensor formats adopted values are in use). For more information about the CoC, see the glossary.

### Disk of Confusion (DoC)

The disk of confusion (DoC; diameter d) is, according to Merklinger, an exact analog of the circle of confusion (CoC; diameter c) to describe depth of field. The disk lies, however, in the object field, that is, in the scene to be photographed. Merklinger explains it as follows:

• Let's think of it another way. Suppose we have in our camera, located on the film, a very tiny but bright source of light: a very tiny "star". That star will project its light through our camera lens (acting now as a projector). Wherever that starlight falls on a flat surface we will see a disk of light. The size of that disk of light will depend upon where the surface is relative to where the lens is and where it is focused. If the surface happens to be right where the lens is focused, we will see only a tiny bright point of light. A little ways in front of or behind where the lens is focused, we would see a small disk of light. ... We'll call this disk the disk of confusion.

### Calculating the Diameter of the Disk of Confusion (but Actually, We Want to Know the f-Number...)

The Merklinger paper confused my a bit, because the arguments go somehow "upside down". In practice, you decide on the size (or diameter) of the objects you want to resolve (the disk of confusion), and all you need is an f-number for the focal length that you want to use. The theory, however, delivers a formula that gives you the size of the disk of confusion, depending on distances and the aperture opening, which again depends on the focal length and the f-number. Thus, you need to rearrange Merklinger's formula to get what you need...

For arriving at the diameter of the disk of confusion Sx (or Sy), Merklinger asks the question (with additions by me):

• "What object at distance X (between lens and point of focus D; or distance Y between point of focus D and infinity) would be imaged on the film plane as a circle of diameter c (circle of confusion) if the lens were stopped down so as to image the object sharply?"

I do not present Merklinger's mathematical derivation here (for more information, see here), but just the result:

• Sx = (D - X) / D * d, Sy = (Y - D) / D * d
• With d = f/ N we get:
Sx = (D - X) / D * f / N, Sy = (Y - D) / D * f / N
• What we really need in practice is:
N = (D - X) / D * f / Sx, N = (Y - D) / D * f / Sy

Addition: If you express the object distance from the point of focus in fractions or multiples x or y of the focus distance D, you get even simpler formulae and "rules of thumb"*:

• Y > D: Y - D = y * D, y < 1 => Sy = (Y - D) / D * d = y * D / D * d = y * d
• X < D: D - X = x * D, x > 1 => Sx = (D - X) / D * d = D / x / D * d = d / x

Legend: Sx = size of disk of confusion (object between lens and point of focus D); Sy = size of disk of confusion (object between point of focus D and infinity); D = distance of point of focus; d = f / N = diameter of working aperture; f = focal length; N = f-number (f-stop)

*) Merklinger writes in another paper: "The rule for determining what objects are resolved is ultra-simple. We focus our lens exactly at some distance, D, from our lens. An object one-tenth of the way back from D, towards our camera (that is, at a distance of 0.9 D), will be resolved if it is at least one-tenth as big as the opening in our lens diaphragm. If the object is one-quarter of the way from the point of exact focus to the camera lens, it will have to be one-quarter as big as our lens to be resolved. And so on. The same rule will hold on the far side of that point of exact focus also. An object twice as far from the lens as the point of exact focus will have to be as large as the lens aperture to be resolved."

Merklinger summarizes his result as follows:

• The only things that matter are the working diameter of the lens d (size of the lens aperture as seen from the front of the lens = f / N; f = focal length, N = f-number), the distance D at which the lens is focused, and where the other significant objects are in relation to our lens (X, Y) and the point or plane of exact focus (D - X, Y - D)
• X is the distance from the lens to the place where we wish to estimate the diameter of the disk of confusion. Sx is the diameter of the disk of confusion at distance X (analogously for Y, a distance beyond D, the point of focus).

Thus, whenever you specify a DoC criterion for the size of objects to be resolved (for example, 4 mm for blades of grass), you do it for distance X (not for D, there Sx = 0...)! You specify such a criterion also for a distance Y beyond the point of focus D. In the case that both criteria are the same (as we have for the CoC), we get:

• S = Diff / D * d
N = Diff / D * f / S (S = DoC, Diff = difference between distance of objects and distance of point of focus)
• If we express the difference Diff in multiples n or fractions 1/n of D, we get: S = n * d (n > 1, distances beyond D) or : S = d / n (n < 1, distances before D)

That is, if the criteria are the same, the far point (or plane) Y is at the same distance behind the point of focus D as the near point (or plane) X is before D.

A special, but important case is that the lens is focused at infinity. I deal with it further down.

### Some Characteristics of the Disk of Confusion

According to Merklinger, "the disk of confusion is about the size of the smallest object which will be recorded distinctly in our image. Smaller objects will be smeared together; larger objects will be outlined clearly - though the edges may be a bit soft."

The size of the disk of confusion is easily estimated for two specific distances:

• At half the distance from the camera to the point of exact focus, the disk is half the working diameter of our lens.
• At twice the distance to the point of focus, the disk is equal to the lens diameter.

The latter two statements can be easily derived from Merklinger's formulae for the disk of confusion above (for details, see here).

### The Relationship between the Diameter of the Disk of Confusion and the Circle of Confusion

It would be interesting to find out the relationship between diameter of the disk of confusion the diameter of the circle of confusion, but I was not really successful in finding one (for details see here), except for one case: I discovered that the hyperfocal distance is just the minimum distance based on the CoC criterion, when distance is set to infinity (see here for a derivation). So here we know at least, both of them. As promised, I deal with this case further down.

### Side Note: Object Field Methods (From Wikipedia)

Traditional depth-of-field formulas and tables assume equal circles of confusion for near and far objects. Some authors, such as Merklinger (1992), have suggested that distant objects often need to be much sharper to be clearly recognizable, whereas closer objects, being larger on the film, do not need to be so sharp. The loss of detail in distant objects may be particularly noticeable with extreme enlargements. Achieving this additional sharpness in distant objects usually requires focusing beyond the hyperfocal distance, sometimes almost at infinity. For example, if photographing a cityscape with a traffic bollard in the foreground, this approach, termed the object field method by Merklinger, would recommend focusing very close to infinity, and stopping down to make the bollard sharp enough. With this approach, foreground objects cannot always be made perfectly sharp, but the loss of sharpness in near objects may be acceptable if recognizable of distant objects is paramount.

Other authors (Adams 1980) have taken the opposite position, maintaining that slight unsharpness in foreground objects is usually more disturbing than slight unsharpness in distant parts of a scene.

Moritz von Rohr also used an object field method, but unlike Merklinger, he used the conventional criterion of a maximum circle of confusion diameter in the image plane, leading to unequal front and rear depths of field.
(From Wikipedia: en.wikipedia.org/wiki/Depth_of_field )

## Special Case of Merklinger's Approach: Setting Distance to Infinity

The method of setting distance to infinity is a long-standing photographic practice, but can also be regarded as a "special case" of Merklinger's approach (see also Merklinger p. 29ff).

### Determining the Disk of Confusion or the f-Number

Setting distance to infinity simplifies Merklinger's formulae for the disk of confusion and delivers the result (for details, see here):

• S = d = f / N (S = diameter of disk of confusion; d = diameter of the working aperture = lens opening; f = focal length of lens; N = working f-number)
What we need in practice is: N = f / S

Thus, under this condition, the disk of confusion S assumes, regardless of the distance to the object, the constant size d of the diameter of the working aperture, which can be calculated from the focal length f and the working f-number N for any given lens. This can be condensed into a simple rule of thumb (from Michael Reichmann at The Luminous Landscape):

• Set the lens to infinity, then divide the focal length of the lens by the working aperture (f-number). This will give you, in millimeters, the subject resolution limit from the far distance to right in front of the camera.

For example, if you are using a 50 mm lens focused at infinity, and the aperture is f/8, then 50 divided by 8 is about 6 millimeters, meaning that objects of 6 mm size and more will be identifiable within the resolution capabilities of the lens and the sensor. 6 mm objects may be a bit soft, but are still identifiable (from The Luminous Landscape and Merklinger, adapted).

If you want to specify the size S = d of the objects to be resolved in beforehand (which seems to be the practice case...), you have to use the formula "the other way round", because you need to know the f-number N, which you can calculate from the formula N = f / d. You can do this easily in your head as well.

### What About the Near Limit?

What is still missing here, is a criterion for the near limit, albeit Merklinger probably would state that the disk of confusion is the near limit, according to his approach. But since his methods does not tell anything about the CoC at closer distances, you might get a bit nervous about this... I can assure you that you are not completely "left in the dark". As I derived elsewhere, the hyperfocal distance (HFD) is just the near limit if you adopt the conventional CoC as your "sharpness "criterion. I also show below (and Merklinger also mentions this) that at half the HFD, the CoC is twice the "acceptable" or "standard" size.

### Tables for Determining the f-Number

Instead of doing the DoC math in your head, you can also calculate tables of d-values. I published such tables for the disk of confusion for my cameras (except for the Ricoh GXR) on this site - see the sections for the individual cameras. For my tables I did it, however, the "original" way and used fixed f-numbers, as given by my cameras, and the most important focal lengths of my cameras to calculate tables of d-values. When you use these tables, you first have to decide on a value for d, based on the scene to be photographed, and a focal length f. Then search the table for a suitable d-value and extract the corresponding f-number for that focal length. Often, you will not find the exact d-value in the table and have to select one that comes close. Boone proposes to choose the f-number conservatively in this case, that is, to select the next larger f-number to be "on the safe side".

Here is a step-by-step procedure for using the tables (there are two variants of it, one for cameras/lenses without a DOF scale and one for lenses with a DOF scale - they differ in the last step 4):

• (1) Choose a diameter for the disk of confusion based on the size of the features in the images to be resolved; this is also the diameter of the working aperture.
• (2) Select from the d-value table an appropriate f-number for the focal length of the lens that you will use*. Round in the direction of a larger f-number to be "on the safe side"**.
• (3) Take care that the f-number is not at or above the diffraction limit aperture of your camera (details).
• (4a) For cameras and lenses without DOF scales (in my case: Ricoh GR, Leica X Vario, my wife's Sony RM100 M1):
• Consult a table of hyperfocal distances for the respective camera, look for the focal length and f-number to be used and determine the hyperfocal distance. This can be used as "allowable" minimum distance based on the traditional CoC criterion.
• (4b) For lenses with a DOF scale (on my Leica M (Typ 240)):
• Read the "allowable" minimum distance from the "near marker" of the DOF scale of the lens for the f-number to be used (thus, the "allowable" minimum distance is based on the traditional CoC criterion).

*) For my tables, I used fixed f-numbers, as given by the cameras, and the most important focal lengths of my cameras to calculate tables of d-values. When you use these tables, you first have to decide on a value of d based on the scene to be photographed and a focal length. Then search the table for a suitable d-value and extract the corresponding f-number for that focal length. Often, you will not find the exact d-value in the table and have to decide for one that comes close.
**) Choose the f-number conservatively, that is, select the next larger f-number to be "on the safe side".

Kevin Boone also published simple tables for this condition (for two diameters of the disk of confusion, namely 5-6 mm and 2-4 mm) and included the minimum distance from which everything would be sharp up to infinity (the minimum distance is the HFD).

### Table for the General Method (Limited Focus Distance) versus the Special Case "Distance Set to Infinity"

As a "specialist for tables" I try to capture the essence of Merklinger's approach for a limited focus distance D versus the special case focus at infinity" in a small table:

 Focus at D, Object at X, Y Focus at Infinity Distance CoC DoC DoC Formulae CoC DoC DoC Formula Near Limit* n.a.* n.a. Y > D: Sy = (Y - D) / D * d Sy = n * d, with: Y - D = n * D X < D: Sx = (D - X) / D * d Sx = d / n, with: D - X = D / n n.a.** d S = d D / n n.a. d / n => d D / 2 n.a. d / 2 D (focus) 0 0 2* D n.a. d 11*D n.a. 10 * d n * D n.a. n * d => inf Far Limit* n.a.* n.a. Infinity n.a. inf 0 Further useful formulae > d = f / N H (approx.) = f * f / (N * c) = f * d / c

*) Not dealt with by Merklinger's method
*) To be calculated from DOF formulae; **) for X = H (HFD), the CoC assumes the "acceptable" value

Or in "compressed" format:

 Focus at D, Object at X, Y Focus at Infinity Distance CoC DoC DoC Formulae CoC* DoC DoC Formula D / n n.a. d / n => d Y > D: Sy = (Y - D) / D * d Sy = n * d, with: Y - D = n * D X < D: Sx = (D - X) / D * d Sx = d / n, with: D - X = D / n n.a.* d S = d D (focus) 0 0 n * D n.a. n * d => inf Infinity n.a. inf 0 Further useful formulae > d = f / N H (approx.) = f * f / (N * c) = f * d / c

*) For X = H (HFD), the CoC assumes the "acceptable" value

Legend: Sx = size of disk of confusion (object between lens and point of focus D); Sy = diameter of disk of confusion (object between point of focus D and infinity); D = distance of point of focus; X, Y = distance of object (X<D, Y>D); n = abs(focusing distance - object distance)/(focusing distance); H = hyperfocal distance (H); d = f/N = diameter of working aperture; f = focal length; N = f-number (f-stop); c = diameter of circle of confusion

## Everything Sharp from "Here" to Infinity...

Often, we want everything sharp from "here" to infinity. There are two alternative methods for dealing with this requirement: Either ...

• Set the distance to the hyperfocal distance. This provides sharpness based on the traditional CoC criterion at the near and far limits. Or ...
• Set the distance to infinity. Here you can at least, be sure that everything is perfectly sharp at infinity.
It also turns out that the hyperfocal distance can act as the near limit based on the conventional CoC criterion (easily to see on lenses with a DOF scale).

In the following, I attempt to compare both methods.

### Hyperfocal Distance versus Merklinger's Approach

Merklinger's simplified approach to set the distance to infinity can be regarded as an alternative to setting the distance to the hyperfocal distance. Merklinger (p. 31ff) therefore discusses "what we gain and what we lose when we focus at infinity instead of the tried-and-true hyperfocal distance" and makes the following comments on this:

1. At the inner limit of the conventional depth-of-field the disk of confusion is half the diameter of the lens opening (because the distance to the inner limit of the depth-of-field is one-half the hyperfocal distance).
Thus at the inner limit of depth of field the most we lose by focusing at infinity is a factor of two in resolution of the subject.
2. On the other hand, for subjects beyond the hyperfocal distance, the story may be quite different. At a subject distance of twice the hyperfocal distance, the disk of confusion is equal in size to the lens diameter. At this distance either method gives the same result.
3. At three times the hyperfocal distance, the disk of confusion is twice the lens diameter. At four times the hyperfocal distance, it is three times the lens diameter and so on. At ten times the hyperfocal distance, the disk of confusion is nine times the lens diameter. => Thus, the DoC grows without limit until infinity.

These statements for focusing at the hyperfocal distance, can be verified using Merklinger's formulae and setting X (smaller than D) or Y (larger than D) to the hyperfocal distance H, fractions of it, or multiples of it (for details see here).

When we, instead, focus at infinity, we get S = d at any distance, which is half the resolution at HFD/2, the same at double the HFD, and better for any other multiple of the HFD compared with focusing at the hyperfocal distance.

Merklinger concludes "Thus, if we are using a good lens, good film, and careful technique, we potentially have a lot to lose in the resolution of distant subjects by focusing the lens at the hyperfocal distance. In practice, by focusing instead at infinity, we will lose a factor of two in subject resolution at the near limit of depth-of-field but gain about a factor of six in the resolution of distant subjects! It's often worth the trade."

Note that Kevin Boone also includes an intensive discussion of hyperfocal distance versus Merklinger's approach in his article Hyperfocal distances and Merklinger's method in landscape photography. He also shows an example of how the "far limit" is negatively affected by setting the focus point too close when using the hyperfocal distance (due to settings errors or insufficient CoC). The far limit may move dramatically closer in such a case, which might ruin a shot. Boone therefore cautions the readers:

• "When using the hyperfocal method, it's advisable to calculate the hyperfocal point for a particular f-stop, and then stop down one position, as otherwise small errors in the focus position can have dramatic effects on the far point. If you can't do that, it's better to set the focus distance too long rather than too short as, although this will affect the near point, the effect on the near point is far less pronounced."

### Test Photos

I prepared some "quick-and-dirty" test photos with some of our cameras, where I compare the following conditions: (1) focus set at infinity and (2) focus set at the hyperfocal distance. I also used several different apertures for each camera. I used all cameras at the same equivalent focal length of 28 mm. In hindsight, I realized that only the focal length is relevant. Thus, I could as well have taken the photos with one camera at different focal lengths.

Here are links to the respective pages (located in the sections of the cameras):

While the photos could be of better quality, they more or less confirm the above statements.

### What is so Special about the Hyperfocal Distance?

I think, from a calculation point of view, the only relevant aspect is that the for the HFD, half the HFD, and infinity, we know the diameter of the circle of confusion (CoC), when we focus at HFD. From a practical point of view, it is, of course, also relevant by providing us with a distance setting that delivers a depth of field (DOF) that extends from a near point up to infinity (according to the CoC criterion, that is, with "acceptable sharpness" at the near and far limits).

### Tabular Comparison with Hyperfocal Distance

In the following, I attempt to capture the differences between the hyperfocal distance approach and Merklinger's approach in an overview table:

 Criterion Hyperfocal Distance (HFD) Merklinger Comment Special Case: Focus at Infinity Focus at Object at Finite Distance Distance set to... HFD Infinity Distance of most relevant objects in scene (<< infinity) Typically farther away when using Merklinger's method Near Limit HFD/2 (CoC criterion) HFD (CoC criterion); can be easily read from lenses with a DOF scale The size of the DoC = aperture opening (f/N) is constant across the whole distance range up to infinity Given by the size of the DoC for the near limit (distance X) specified by the photographer Infinity: Merklinger's method does not specify a near limit, only a "minimum resolved" object size that is constant up to infinity Far Limit Infinity (CoC criterion) Infinity (optimal sharpness) Given by the size of the DoC for the far limit (distance Y) specified by the photographer Infinity: Sharpness is optimal at infinity Best Sharpness at... Hyperfocal distance Infinity Object that is in focus Merklinger's method puts the emphasis on objects farther away or at infinity; the HFD is typically fairly close to the photographer DOF Between half the HFD and infinity Determined by the choice of aperture, CoC, and focal length of lens Between HFD and infinity (the near limit is not specified by Merklinger's method, but via the CoC) Determined by the choice of aperture, CoC, and focal length of lens From X to Y, according to the DoC criteria for the near limit X and the far limit Y You can specify different DoC criteria for near and far objects and look for a "compromise" f-number Role of Aperture Determines DOF (near limit; far limit is infinity) End result of the calculations End result of the calculations The f-number is the "final result" of Merklinger's method Choice of Aperture On the basis of HFD tables or calculations (or DOF scales) On the basis of the DoC tables or individual calculations (which is easy) On the basis of individual DoC calculations ("infinity" tables can also be used) Formulae HFD formula (or approximation) Special case DoC formulae with object distance X or Y = infinity (these formulae are much simpler than the regular ones and can be used for calculating DoC tables, from which the f-number can be chosen) "Regular" DoC formulae For focus at infinity (D = infinity) the formulae can be simplified Formulae for DoC --- S = d Sx = (D - X) / D * d Sy = (Y - D) / D * d With d = f / N you get: Sx = (D - X) / D * f / N Sy = (Y - D) / D * f / N Note that Sy and Sy differ from D in the general case (for focus at infinity, S and d are the same)

Legend: Sx = size of disk of confusion (object at distance X between lens and point of focus D); Sy = diameter of disk of confusion (object at distance Y between point of focus D and infinity); D = distance of point of focus; d = f/N = diameter of working aperture; f = focal length; N = f-number (f-stop); c = diameter of circle of confusion

### Summary

The following table summarizes the results from this section:

 Focus at H (HFD), Object at X, Y Focus at Infinity Distance CoC DoC DoC Formulae CoC DoC DoC Formula H / 2 c (DOF near limit) d / 2 Y > H: Sy = (Y - H) / H * d X < H: Sx = (H - X) / H * d 2 * c d S = d H 0 (focus) 0 c (DOF near limit) 2 * H < c d c / 2 Infinity c (DOF far limit) inf 0 (focus) Further useful formulae > d = f / N H (approx.) = f * f / (N * c) = f * d / c

Legend: Sx = size of disk of confusion (object between lens and point of focus H); Sy = diameter of disk of confusion (object between point of focus H and infinity); H = hyperfocal distance (HFD); X, Y = distance of object (X<H, Y>H); n = multiple or fraction of ratio between focusing distance and object distance; d = f/N = diameter of working aperture; f = focal length; N = f-number (f-stop); c = diameter of circle of confusion

## Merklinger's "Rules of Thumb"

Merklinger published a number of "rules of thumb" (chapter 10, p. 69ff), which are direct consequences of the formulae that he derives in his paper. In the following, I cite some of them (I shortened rules, if this seemed appropriate), namely the ones that I find myself most important for my work:

• 1. If we want an object to be resolved, we make sure that the disk of confusion is smaller than the object.
• 2. If we want an object to be blurred out, we make sure that the disk of confusion is larger than the object.
• 3. Between the point of exact focus and the camera, the disk of confusion can never be larger than the working diameter of our lens.
Beyond twice the distance from lens to point of exact focus, the disk of confusion grows larger than the lens opening - without limit!
• 4. If we want anything at infinity to be critically sharp, focus at infinity.
• 5. If we want all objects of, say, 5 millimeters diameter to be recorded - at whatever distance - we should use a lens aperture of 5 millimeters or smaller and focus no closer than half the distance to the furthest object.
• 6. The zone of acceptable delineation of the subject falls equally in front of and behind the point of exact focus (not 1/3, 2/3!).

## A Practical Example

A Russian RX100 M1 user asked me what Merklinger's approach would deliver for the following example (or better, which would be the optimal aperture value for this): The camera should resolve blades of grass, for which a diameter of the disk of confusion of 5 mm (0.5 cm) is assumed. The question is:

• Which aperture value (f-number) delivers the optimum resolution for this case for my camera (Sony RX100 M1)?

Actually, this is not the "correct Merklinger question", since the point of focus always delivers optimal sharpness. Merklinger's theory is based on geometric optics and does not say anything about this. In a short paper on his method, Merklinger writes: "True, diffraction effects won't let me resolve 11 mm at 5000 ft. ...." (the resolving power of the lens and the sensor may also limit what can be resolved). Thus, this is another story and not the point here. The point here is that we have to make decisions about where we want to resolve 5 mm, either in the foreground, the background, or both (which may make it hard to find a compromise...). These are our "Merklinger" near and far limits, corresponding the the CoC-based near and far limits, but defined in the object space.

Let's say that we want to resolve objects of 5 mm diameter at X = half the distance D at which we focus (that is, in the foreground).

When we think in fractions and multiples of the focus distance, the resulting d-values are the same for the same fraction or multiple of the focus distance, regardless of its actual value (this can be derived from the formulae above). Therefore, I decide - without loss of generality - that the focus distance D be the hyperfocal distance H, because focusing at this distance is a competitive approach to Merklinger's. This also allows me, to present some numbers not only for the DoC but also for the CoC...

I distinguish the following two cases:

• Focusing at a finite distance, which will be "without loss of generality" the hyperfocal distance H, and
• Focusing at infinity, which is the "boundary condition": Up to an object distance of 2 X, it is worse than focusing at a finite distance, beyond that it is better.

Thus, in the results table below I use the hyperfocal distance H as point of focus (D) and consider the near limit X = H / 2 (or D / 2 in the general case). The basics for my calculations can be found here. On this page, I just present the results, that is, the f-numbers for a DoC of 5 mm (note that the table does not include or need a "real" distance D because the near limit is half the focus distance):

 Criterion: Sx = 5 mm (DoC) Focus at H (HFD) Focus at Infinity Camera* Focal Length (mm) f-Number for Sx at X = H/2 Focus Near Limit CoC at H/2 (mm) f-Number (f/d) Near Limit (CoC) Resolving Limit (0 - inf) CoC at H/2 (mm) Real Equ. Calcul. Nearest* H (m) H/2 (m) DoC** at H/2 (mm) Calcul. Nearest* H (m) DoC (mm) Sony RX100 M1 1" Sensor Diffr. Limit: f/8 10.4 28 1.04 1 -- -- 5 0.011 2.08 2 4.93 5 0.022 13.0 35 1.3 1.5 -- -- 5 0.011 2.60 2.8 5.44 5 0.022 18.5 50 1.85 1.8 17.48 8.74 5 0.011 3.70 4 7.80 5 0.022 25.9 70 2.59 2.8 21.59 10.80 5 0.011 5.18 5.1-5.6 10.81 5 0.022 37.1 100 3.71 4 31.32 15.66 5 0.011 7.42 7.1-8 15.68 5 0.022

*) f-number set to nearest "infinity" value. The f-numbers should not be taken too seriously, in part they are "nominal", in part "exact" (sometimes, the exact ones are given in parentheses).
**) At H/2, the DoC is d/2, at H, the DoC is 0, at 2*H, the DoC is d again, and then it grows without limit.
*) For the calculations, only the real focal length is relevant, not the sensor size or the camera type.

### Discussion

#### Focus at Infinity

For focusing at infinity, the answer is straightforward: The aperture values are valid for any distance. If you increase the f-number further, the disk of confusion gets smaller, and you can resolve even smaller structures. Be sure not to increase the f-number beyond the diffraction limit (f/8 for the Sony RX100 M1).

The method also tells us that 5 mm can even be resolved if objects are hundreds of meters away (and more...). But then the angular separation should be so small that the blades are no longer be resolvable. Since the Merklinger method is based on geometric optics, it does not know anything about resolving limits caused by the media (film: grain; sensors: pixel size, Bayer filter, AA filter) and by the characteristics of real lenses - as it does not know anything about diffraction... So please take such results with a "grain of salt."

#### Focus at the Hyperforcal Distance (a Finite Distance)

For focusing at a finite distance, we get the theoretical result that the diameter of the disk of confusion (DoC) will continually decrease from the lens to the point of focus D (here H), where it is zero, and then increase again, until it grows above all limits. When we specify the near limit in multiples or fractions of the focus distance D (here H), we can generalize our results and need not use "real" distances.

When I calculated the values for the finite distance, I was somewhat "shocked" at the beginning, because the f-numbers were so small, smaller than the cameras offers. What does this tell us? The answer is that any f-number larger than the calculated one will do (below, the diffraction limit, of course...). One might say, the criterion is too lax, and there is ample room for making it more strict. If I would, for example, adopt a disk of confusion of half the size, that is, of 2.5 mm in diameter, as my criterion, I could just use the f-numbers that I calculated for the infinity condition.

Returning to the starting question, a simple answer to a Sony RX100 M1 user might be:

• If infinity need not be sharp, set the focus at a distance so that the relevant parts are within sufficient reach (not farther away than twice the focus distance). You can use any focal length and any f-number from the lowest possible (depending on the focal length) up to f/8 (the diffraction limit).
Alternatively, you can make your criterion stricter. A disk of confusion of 2.5 mm would just correspond to the "infinity" data.
• If infinity needs just to be "acceptably sharp" (CoC criterion)*, set the focus at the hyperfocal distance. You can read the distance and corresponding f-number from tables of the hyperfocal distance or the DOF scale of your lens (depend on the focal length). Use only f-numbers up to f/8 (the diffraction limit). Note that the near limit (CoC criterion) is half the distance of the "infinity" condition.
• If infinity needs to be "optimally sharp" (better than the CoC criterion), set the focus at infinity. You can use any focal length, and an f-number up to f/8 (f/8 is needed for 100 mm equiv.; smaller f-numbers may not be sufficient for some focal lengths - see the table above).

Do not expect grass blades that are farther away to be resolved, because there is more to photography than geometric optics...

*) Note: Elsewhere on this Website you will find a discussion about whether "acceptably sharp" at infinity is sufficient in comparison with focusing on infinity. You will find that a decision on this question depends on your personal requirements for viewing images on the TV or computer screen and for printing (print size).

## Conclusions

At the moment, I can only make some preliminary remarks. Merklinger's approach may be difficult to handle for some people, because, in the general case, it requires calculations or the use of sketches. The special (or simplified) case that distance is set to infinity is easier to handle and can be dealt with using individual calculations or using tables, much like the DOF and HFD tables.

For me is, however, more important that Merklinger's method cautions me of some of the dangers or difficulties (for example, on cameras without a distance scale) that are implied by using the HDF. The biggest danger seems to be for me that you set the distance (meant as HFD...) too short (which is easy with some lens's distance scales) so that objects at large distances (or infinity) get too fuzzy. Boone demonstrates in his article that it is easy to err "on the wrong side" (= near limit) and thus, arrive at unsatisfactory results. Erring on the far limit has much less impact, particularly for distant objects, where nothing changes. Only close objects may get a little bit fuzzier.

Merklinger's paper and Boone's article also show that the strategy to set distance at infinity and "waste" some DOF in the foreground is a "safe" strategy for landscape shots where foreground objects do not play a major role. In the end, I have used this strategy all over my photographic life, but always felt guilty of "not using the optimum", that is, the hyperfocal distance.

As both authors point out, with the hyperfocal distance approach, objects at infinity are just "acceptably" sharp. But what "acceptably" means, can vary from situation to situation. Better monitors and larger prints may require a smaller diameter of the CoC than is used in the camera (or on the distance scale of the lens) as standard. Under these conditions, your photos may look too fuzzy at infinity. Setting distance to infinity will ensure that you always get the optimum at large distances, whatever output device is being used.

## References

### ExifTool

 gerd (at) waloszek (dot) de About me made by on a mac!
 14.02.2016