LinearLens / DaVinci Resolve DCTLs

Defocus through an aperture footprint, not a bell-shaped blur.

Lens Defocus is built around an aperture-style point-spread function with optional field and chromatic imperfections.

Demonstration

Three real render comparisons.

Each wipe uses one neutral frame from the demo set and the matching LinearLens output for this tool.

Example 01 / Lens Defocus

Neutral demo frame 01
Lens Defocus render for demo frame 01
BEFORE AFTER

Example 02 / Lens Defocus

Neutral demo frame 02
Lens Defocus render for demo frame 02
BEFORE AFTER

Example 03 / Lens Defocus

Neutral demo frame 03
Lens Defocus render for demo frame 03
BEFORE AFTER

The science

Why this behaves differently from the obvious alternative.

When a point is out of focus, a lens maps it over an area related to the aperture rather than convolving it with a Gaussian bell curve. That difference is why optical defocus has a recognisable bokeh structure and handles bright points differently from a normal blur.

Real lenses also have imperfect focus surfaces and wavelength-dependent focus. Adding controlled field curvature, astigmatism and restrained colour-dependent focus behaviour lets the defocus stage move away from the perfectly uniform response of a digital blur.

Why it matters

Against Gaussian blur

Gaussian blur is smooth and computationally convenient, but it does not represent a filled aperture. Bright points and edge structure therefore have a different visual character.

Why it matters

Against perfect synthetic defocus

Optional field and colour imperfections allow the image to retain the small asymmetries that make real optics feel less mathematically uniform.

Lens Defocus

Defocus based on real world aperture behaviour.

Useful for lens matching, controlled background softening, taking the clinical edge off a composite, or creating defocus that reacts more like an optical system than a general-purpose blur.

Design principle

Aperture-style PSF

Out-of-focus information is distributed over a filled aperture footprint.

Design principle

Field curvature

Focus can vary over the image field rather than assuming one perfectly flat focus plane.

Design principle

Astigmatic behaviour

Directional focus response can diverge across the field where a more imperfect lens character is wanted.

Design principle

Colour-dependent focus

Optional wavelength-dependent focus offsets can add restrained longitudinal colour character.

How to use

Make a linear optical block, then continue into the grade.

The DCTL does not need to own your colour management. Put the transforms around it: camera source into a suitable linear RGB representation, LinearLens in the middle, then into the colour-development space you want to grade in.

01 Camera source Log / RAW development input
02 Transform to linear Keep a suitable working gamut; make light scene-linear
03 Lens Defocus Diffusion / bloom / CA / MTF / defocus
04 Transform to development space For example DWG Intermediate or another grading space
05 Camera + colour + film work Balance, creative grade, film emulation, output rendering

The important placement is the highlighted block: LinearLens belongs after you have made the image linear, and before the development, grading and film-look stages that intentionally reshape tonal values.

Linear in

Use a Colour Space Transform, ACES transform or equivalent to get the image into a scene-linear RGB representation while retaining an appropriate gamut.

DCTL block

Place diffusion, bloom, CA, MTF sharpening or defocus here. If you use several, this is the optical-character section of the chain.

Develop after

Transform onwards into the space used for camera matching, primary colour, creative looks and film emulation. Those stages can then work on an image whose optical character is already established.

Lifetime licence
Single DCTL

Also available

All five for £100.

The complete LinearLens suite is a lifetime licence and saves £50 against buying the five tools separately.

Buy the suite