SpeedSix.RemGrain   (Discreet Box2)



PURPOSE

Reduces the apparent grain in an image digitised from film. Film grain tends to have certain features exploited by SpeedSix.RemGrain, which will not necessarily work with images that don't come from film!
The outline of the technique is that first you must measure the statistics of the input image inside a small region that should be pretty much one "flat" colour. E.g. a bit of clear sky. By measuring how much "noise" there is in this region, RemGrain tries to work out a statistical "threshold" which lets it distinguish film grain from true image detail. It then applies a low pass filter that can get rid of the "noise" as measured in the "flat" area, applying it to a varying degree from pixel to pixel depending on how much real image detail it calculates is around that pixel based on the statistical threshold it has worked out. RemGrain is generally successful at removing film grain while preserving image detail, but the result may show "fizzing" around edges in the image where the grain removing filtering is abruptly reduced. This is only visible when viewing a moving sequence. If you see "fizzing", or if there is nothing you can identify as a "flat" area in your images, you may want to try RemGrain2 instead.

remgraina.jpg remgrainb.jpg



INPUT CLIPS

 1: Grainy Clip



RemGrain   CONTROL PAGE

Threshold  (Number  Min: 1.0, Max: 5.0, Default: 2.0)
     If the standard deviation of pixel colours in a small region of the input image around the current output pixel is less than Threshold * the standard deviation in the background region, grain reduction processing will be done for that output pixel.
Typically, the higher this figure, the more grain reduction will be performed. If it is set too high, important image features may be blurred. If too low, most of the grain may be left intact.

Red Dominance  (Number  Min: 0, Max: 20, Default: 2)
Green Dominance  (Number  Min: 0, Max: 20, Default: 1)
Blue Dominance  (Number  Min: 0, Max: 20, Default: 0)
     Controls how much we can trust a colour record of the film to represent real features in the image. For most films, red is quieter than green, and blue is very much the noisiest. The colour record weights should give least importance to blue, and most to red for such a film.

Match Scales  (Checkbox  Default: On)
On: keeps the ROI box square.
Off: what ever ratio you prefer.

Scale X  (Number  Min: 0.01, Max: 2.0, Default: 0.5)
     X scale of the ROI. This is used if the scales are locked

Scale Y  (Number  Min: 0.01, Max: 2.0, Default: 0.5)
     Y scale of the ROI. Ignored if the scales are locked

Use Throughout  (Checkbox  Default: Off)
On: once the first frame has been processed, the statistics found for its background region will be used in processing the rest of the clip.
Off: the statistics will be found for each frame.

Centre  (Position  Default: 0.5, 0.5)
     The centre of the ROI

Index