Grain adds a film grain to the image, the Grain section of Dark Room (All) in a panel of its own.

Categories
  • Image Adjustments
Keywords
  • grain
  • film grain
  • noise
  • size
  • roughness
  • seed
  • effects
  • dark room
  • image adjustments

1Introduction

The process is the Grain section of Dark Room (All) on its own: it runs the same engine with every other control at no change, so its result is exactly what Dark Room (All) gives with the same settings and the rest at their defaults. With every control at its default the image comes out exactly as it went in.

Figure: the Grain panel, with the histogram and the controls.

2Quick Start

  1. Open a stretched image and choose Process > Image Adjustments > Grain.
  2. Raise Amount.
  3. Set Size and Roughness, and look at the image at 100 percent.
  4. Click Apply. The result is one history step that Undo takes back.

3Interface & Parameters

The histogram of the image as the controls would make it is at the top, in red, green, blue and the luminance, and the controls follow it.

The grain is the same wherever it is drawn: it depends on the position in the image and on the seed, so the live preview, a part of the image and Apply show the same grain, and it is the same every time.

Amount: From 0 to 100, 0 by default. How strong the grain is. The grain is the same in the three channels and is stronger in the midtones than in the darkest and the brightest tones.

Size: From 0 to 100, 25 by default. How large the grain is, from single pixels to about six pixels.

Roughness: From 0 to 100, 50 by default. How uneven the grain is: smooth at 0, with the crisp single-pixel component at 100.

Seed: The pattern of the grain. The same seed gives the same grain.

3.1Apply, Preview and Instance

The live preview (the eye at the end of the Applies to row) shows the result on the part of the image in view, as Dark Room (All) does. What the whole image decides is measured once on the whole image, so the preview of a part is what Apply gives there. Apply makes one history step that Undo takes back. Instance shows the process as text, a DSPX process (.dsproc), to copy or save; the settings have the ids they have in Dark Room (All), so their values mean the same in both. The process is our own and has no PixInsight icon.

4Usage Tips and Tricks

Stretch first. The controls are made for the values of a stretched image.

Grain after the last resize. Grain is drawn at the pixels of the image it runs on, so we add it as the last step, after any resampling.

Dark Room (All): every section in one panel.

Noise Generator: noise of a chosen distribution.