Replicating film grain

What shapes the complex structure of film grain and how Film(ish) recreates it

A soft oval of light fading to black in every direction, made of fine grain: warm grey at its center, brown where it falls off.
01

The structure of grain

Film does not have grain – film is grain.

A film emulsion is gelatin with silver halide crystals suspended in it. The crystals are visible only under a microscope; what you see as grain is clumps of them, or the dye clouds they leave behind.

Light that reaches a crystal exposes it, and the developer reduces an exposed crystal to silver. A crystal develops or it does not. There is nothing in between: film has no grey crystals. A mid grey is a patch where about half the crystals developed. 2

In color film each developing crystal also forms a cloud of dye around itself. The silver is then bleached away. What remains is dye clouds in three sets of layers: yellow, magenta and cyan. 4

The crystals sit where the coating left them, at random. Some spots hold more of them than others, and every tone in the picture carries that unevenness. Kodak puts graininess down to the size, number and random distribution of those particles. 5 Grain is not a texture on top of the picture. It is what the picture is made of, seen close.

The next example has grain turned way up for illustration purposes.

A life ring tied to the rail of a boat, the sea behind it and a white deck in front. The whole frame, with strong grain.
36mm frame
The edge of the life ring with two ropes across it, against the sea, made of visible grain.
1× – 48 MP export at 100%
The ring's edge against the sea, broken into grains.
4× – 1 µm per pixel
The same edge: grains over blue on the left, over orange on the right.
16× – 0.25 µm per pixel

In the app the grain magnification is limited by export resolution. Outside the app the engine does not have this limit and can render grain at micrometer scale – this is how the examples from 4× to 64× were generated.

At 16× and 64× a finer grain shows under the first; it stands for the smallest dye clouds.

The same edge with every grain sharp: overlapping translucent flakes of different sizes, blue on the left and orange on the right.
16× magnification
A few dozen separate grains in orange and pink, each an irregular translucent shape, with finer grain under them.
64× magnification
The life ring's edge and its ropes with fine grain.
1× at ISO 400 – 35mm
The ring's edge against the sea with soft, fine grain.
4× at ISO 400 – 35mm
The same edge with faint, cloudy grain.
16× at ISO 400 – 35mm
02

Film format and film speed

A format is named for the width of its strip; the picture is narrower. The gate of 8mm is 5.7 mm across, 16mm is 10.3 mm, 35mm 24 mm, 70mm 52.6 mm.

The crystals are the same size on all of them. What changes is the enlargement. To fill the same screen, an 8mm frame is enlarged four times more than 35mm and nine times more than 70mm. Its grain is enlarged with it. The same grain looks coarse on 8mm and fine on 70mm.

8mm16mm35mm70mm10 mm
Film formats to scale

Film speed changes the crystals themselves: faster film has larger ones, so it shows more grain on every format.

A boat’s rail and life ring, the sea, an island and a far coast under a hazy sky. The whole frame on 35mm film at ISO 200.
The summit of the island at 100%, on 35mm film at ISO 200. 100%
35mm · ISO 20024 mm gate · 12 µm grain
03

Crystals under a microscope

Under an electron microscope, an emulsion is a crowd of separate crystals, no two the same.

Shapes

Older emulsions hold rounded, irregular crystals. Newer ones hold tabular crystals: flat plates with three or six sides, lying parallel to the film's surface. Kodak brought them to color film in 1982 as T-GRAIN. Nearly all color films use them now. 4 10

Sizes

A silver halide crystal is 0.2 to 2 micrometers across. Sizes vary widely inside one emulsion: many small crystals, few large ones. Faster film needs larger crystals: a larger crystal catches more light. 5 Mees and James list a mean of 0.3 micrometers for motion picture print film and 1.1 micrometers for high-speed roll film. 4

Layers

A color negative stacks its crystals in layers. The blue-sensitive layers are on top, then a yellow filter, then the green-sensitive layers, then the red-sensitive ones. Each color has two or three layers of its own, from slow and fine to fast and coarse, up to nine in all. Light crosses every one of them, and tens to hundreds of particles overlap along its path. 4

1 µm
Conventional crystalsrounded, irregular
1 µm
Tabular crystalsflat plates, three or six sides
Protective coatBlue-sensitive, fastBlue-sensitive, slowYellow filterGreen-sensitive, fastGreen-sensitive, slowRed-sensitive, fastRed-sensitive, slowAnti-halation layerFilm base, cut short herelight5 µm
A color negative in cross-section

The grain you see

A single crystal is too small to see in a print or a scan. In color film what remains of it is the dye cloud. The grain you see is larger again: clusters of dye clouds overlapping through the depth of the emulsion. 4

0.2 – 2 µm
Crystal
Silver halide, the particle that catches the light.
1 – 10 µm
Dye cloud
What a developed crystal leaves behind in color film.
10 – 30 µm
Grain
Clusters, seen through the depth of the emulsion.

The model

In 2017 Newson, Delon and Galerne turned this description into a model. Crystals are discs placed at random. Their radii follow a log-normal distribution. The chance that a point is covered by a crystal equals the tone of the picture at that point. The model holds at any enlargement, down to the scale of the grains themselves. 1 2 Film(ish) started from that paper.

Film(ish)'s particles

Film(ish) places its particles at the scale of the grain you see. A particle is about 9 micrometers across at ISO 25 and 16 micrometers at ISO 3200. Each one stands for a small cluster of developed crystals and their dye. At 8mm, 16mm or in a close-up, where the enlargement can show it, a finer grain appears underneath, a fifth to a third of that size.

04

Four ways to simulate grain

Grain engines differ in one thing: what the grain is made of.

1 A pattern over the picture

Most apps take a random pattern and lay it over the finished picture. The pattern is generated, or it comes from a scan of real film. It is the most common approach and the fastest. Lightroom applies its grain with three sliders: Amount, Size and Roughness. 7 In the simplest form the pattern knows nothing of the picture, so it looks the same in shadows, midtones and highlights.

A ramp from black to white with fine, even noise over it.

2 A statistical model

Grain follows known laws. Its strength depends on the tone, on the size of the crystals and on the area each pixel covers. A statistical model works those numbers out for every pixel and generates noise that matches them. No particle is drawn. In 2023 Zhang, Wang, Tian and Pappas published one that runs in real time, for enlargements where single grains are not visible. 3 The strength is right at every tone. Close up there is no structure to see.

A ramp from black to white with fine noise that is strongest in the midtones.

3 A particle model

Every crystal is placed and developed, and the picture is rebuilt from the result. Newson, Delon and Galerne's renderer works this way. 2 It holds at any enlargement. It is slow: the authors report 2.4 seconds for a 512 × 512 image with the faster of their two algorithms. Aurélien Pierre describes a simulation of crystals stacked in layers; 6 Dehancer says the grain in its plugins is three-dimensional particles in an emulsion with thickness. 8

White discs of different sizes on black, sparse on the left and merging into white on the right.

4 A particle simulation Film(ish)

Film grain in Film(ish) simulates the particles, the negative they develop on and the scanner that reads them. Digital grain, the other kind, is a statistical model of the same emulsion.

  • No two grains are alike. Each has its own position on the film, its own size, outline and depth.
  • Three color records. Three layers each, from fine to coarse, and a fourth, finer layer where the enlargement resolves it.
  • Each grain develops or does not. It reads the exposure at its own centre, the exposure sets its odds of developing, and a random draw against those odds decides – yes or no.
  • Statistics below the pixel. Where grains are smaller than a pixel, the engine counts how many the pixel holds and how many developed.
  • Made on the negative. The grain is formed before the print and read through a scanner.
  • The picture keeps its brightness. Grain moves each pixel around the tone it had. Only extreme settings shift it, as heavy grain does on real film.
A ramp from black to white made of irregular grains in several sizes and layers.
05

Simulating the scanner

Nobody looks at film directly. A scanner reads it, and the scan is what people know as the look of film. Two things happen on the way.

Resolving power

A scanner reads the film through an aperture of fixed size; everything inside it becomes one reading. An aperture as wide as the grain averages it away; one half as wide records it with soft edges. 4 The rule is Selwyn's: the measured strength of grain falls with the square root of the area it is read through. 9 That is why a sharper scan of the same negative shows more grain, and why grain goes quiet when a picture is reduced.

Re-sharpening

Scanners and labs sharpen what they read. Sharpening raises contrast at edges, and grain is mostly edges. A sharpened scan shows crisper grain than the film holds.

In Film(ish)

Film(ish) does both. The grains are read through a spot of fixed size, then sharpened. Both steps are part of Film grain and have no controls. The spot is measured on the film, not in pixels, so the grain keeps its size at every export size.

Sharp-edged grains over the orange of a life ring, the dark sea in one corner.
1 · The film
The same grains, softer.
2 · Scanned
The same grains, crisp and higher in contrast.
3 · Sharpenedthe grain you get
0.29 mm of film at 8×
06

What the controls do

The Grain panel has three sections. Grain holds what most pictures need; Structure and Amplitude shape it by hand.

Grain
Film grain or Digital grain · Film format · Film speed · Strength
Structure
Amount · Size · Roughness · Softening · Color
Amplitude
Global · Shadows · Midtones · Highlights

35mm and ISO 100, 200, 800 and 3200 are free; the rest is Pro.

Film format Grain

Film format is the size of negative the grain is enlarged from: coarse at 8mm, fine at 120. It works with Film and Digital grain alike.

Coarse grain.
8mm5.7 mm gate
Medium-coarse grain.
16mm10.3 mm gate
Fine grain.
35mm24 mm gate
Very fine grain.
70mm52.6 mm gate
Very fine grain.
12056 mm gate
A 100% crop of the same 48 MP export at each format. ISO 400.

Film speed Grain

Film speed sets the whole texture in one tap, from fine at ISO 25 to heavy at 3200. Each speed is a set of values for the Structure sliders. Off removes the grain; Sync grain, on the Film panel, sets the speed to the stock’s own.

Very fine grain.
ISO 259 µm
Fine grain.
ISO 10011 µm
Medium grain.
ISO 40013 µm
Coarse grain.
ISO 160015 µm
Heavy grain.
ISO 320016 µm
0.44 mm of 35mm film at 4×; the number is the average grain size in µm.

Strength Grain

Strength is how much of the grain reaches the picture; the grain itself does not change. Turn it down and coarse grain gets quieter but stays coarse. It starts at 80.

Faint grain.
25
Light grain.
50
Medium grain.
80
Full grain.
100
ISO 400 at 4×.

Amount Structure

Amount is how much of the picture the crystals carry.

Faint grain.
10
Medium grain.
22ISO 400
Strong grain.
50
Very strong grain.
100
ISO 400 at 4×

Size Structure

Size sets the average crystal size. Larger grain is also stronger, not only bigger.

Very small, faint grain.
04 µm
Small grain.
339 µm
Medium grain.
5613 µm · ISO 400
Large, strong grain.
10019 µm
ISO 400 at 4×, Amount held at 22.

Roughness Structure

Roughness is how evenly the crystals are spread. Low spreads same-sized crystals in a near-regular pattern. High bunches them into dense patches with gaps between, and mixes large with small, so the grain reads coarser without getting bigger.

Even, same-sized grains.
0
Grains of mixed sizes.
44every film speed
Grains bunched into patches with gaps.
100
A grey card 0.22 mm across, at 8× and without the scanner, where the arrangement shows best.

Softening Structure

Softening is the film’s resolving power. At zero it matches the grain: bigger grain resolves less detail. Below zero the picture keeps more detail than its grain would allow; above zero, less.

Sharp picture with grain.
−100
Slightly softer picture with grain.
0
Soft, diffused picture.
100
A 100% crop of a 48 MP export. ISO 400, 1.7 mm of film across.

Color Structure

Color is how much color the grain carries, from none at zero to full.

Grey grain with no color.
0
Grain with a little color.
36ISO 400
Strongly colored grain.
100
A grey card at 2×, ISO 400, Global at 50 so the color shows.

Global Amplitude

Global makes the grain louder, up to three times.

Medium grain.
0as the film speed set it
Stronger grain.
50twice as loud
Much stronger grain.
100three times
ISO 400 at 4×.

Shadows, Midtones, Highlights Amplitude

Shadows, Midtones and Highlights set the amplitude of each tone band, starting from the global value. Reach for them when you want more grain in the shadows or quieter highlights.

A ramp from black to white with even grain.
All at 0
The same ramp with more grain in the dark end.
Shadows 100
The same ramp with more grain in the middle.
Midtones 100
The same ramp with more grain in the bright end.
Highlights 100
The same ramp with more grain in the dark end and none in the bright end.
Shadows 100, Highlights −100
07

Film grain and Digital grain

There are two kinds of grain. Film grain draws every grain, in the structure described above. Digital grain is the usual kind: a statistical texture, simpler and more even.

Both use the same formats, speeds and sliders.

At the size of a phone screen the two are close. The difference shows as the view gets closer: Film grain keeps its structure, and Digital grain stays even.

Video uses Digital grain. Fine structure does not survive video compression, and a new grain for every frame has to be quick to make.

Film grain on the sea under a boat's rail.
Film grain · 1×2.3 mm across
Film grain, closer, with visible structure.
Film grain · 4×0.58 mm across
Film grain, very close: soft clouds of different sizes.
Film grain · 16×0.14 mm across
Digital grain on the same sea and rail.
Digital grain · 1×
Digital grain, closer: fine and even.
Digital grain · 4×
Digital grain, very close: almost smooth.
Digital grain · 16×
08

Sources

  1. A. Newson, J. Delon, B. Galerne. A Stochastic Film Grain Model for Resolution-Independent Rendering. Computer Graphics Forum 36(8), 2017. doi.org/10.1111/cgf.13159 · open copy
  2. A. Newson, N. Faraj, J. Delon, B. Galerne. Realistic Film Grain Rendering. Image Processing On Line 7, 2017. doi.org/10.5201/ipol.2017.192
  3. K. Zhang, J. Wang, D. Tian, T. N. Pappas. Film Grain Rendering and Parameter Estimation. ACM Transactions on Graphics 42(4), 2023. doi.org/10.1145/3592127
  4. T. Vitale. Film Grain, Resolution and Fundamental Film Particles. Version 24, August 2010. With micrographs from Kodak publication H-1 and from Mees and James, The Theory of the Photographic Process, 1967. cool.culturalheritage.org
  5. Eastman Kodak. Print Grain Index. Publication E-58, July 2000. 125px.com
  6. A. Pierre. Stochastic photographic grain synthesis from crystallographic structure simulation. 2023. eng.aurelienpierre.com
  7. Adobe. Lightroom Classic User Guide – Grain: Amount, Size, Roughness. helpx.adobe.com
  8. Dehancer. How does film grain work in Dehancer OFX plugin. dehancer.com
  9. E. W. H. Selwyn. A theory of graininess. The Photographic Journal, 1935.
  10. Wikipedia. Tabular-grain film. en.wikipedia.org

Figures rendered by the Film(ish) grain engine