You are here: User Guide > NukeX > Using F_ReGrain > Parameters

Parameters

The parameters for this plug-in are described below:

Grain Type - Selects whether the grain is sampled from the Grain image (From Grain Clip) or from a set of standard stocks.

Preset Stock - grain characteristics are sampled from a supplied film stock. 2K, 4K, aperture corrected and non aperture corrected stocks are supplied. Although standard stocks are included, it is recommended where possible that you sample from the film stock you are trying to match.

From Grain Clip - samples and reconstructs the grain characteristics from the Grain input.

Preset Stock - The film stock the grain characteristics are sampled from when Grain Type has been set to Preset Stock. Common Fuji and Kodak stocks are supplied. The exposure can be under, over, or, if left blank, non aperture corrected. The size is either 2K or 4K pixels. For example, FUJIF500 2K refers to the grain characteristics sampled from a 2K plate of Fuji Film 500 film stock non aperture corrected.

Grain Amount - Adjusts the brightness of the grain. Setting this to 0 means no grain is added.

Grain Size - Adjusts the size of the grain granules. The larger the value, the bigger and softer the granules.

Output - Sets whether to render the result or a test image.

Result - shows the Source image with the grain applied.

Grain Plate - shows a test image with the grain applied. This test image is composed from a section of the input image surrounded by a uniform solid color sampled from the image with the grain applied. If the inner area is indistinguishable from the outer area, then you have a good grain sample.

Analyse - This is a push button which will trigger an analysis of the input clip. Press this button if the input clip from which the grain was analyzed has changed but you do not want to move the analysis region to trigger re-analysis. Whenever the input clip changes, you will see the following warning in the Viewer:

The clip from which the grain was analyzed has changed. Press Analyse or move the analysis region to re-analyze grain.

Analysis Region - A selection box that marks the region of image used to analyze the grain when Grain Type is set to From Grain Clip. This part of the frame must contain no image detail, only grain.

Analysis Region BL - controls the position of the bottom left corner of the analysis region.

Analysis Region TR - controls the position of the top right corner of the analysis region.

Analysis Frame - sets the frame to sample the grain from.

Grain Colour Space - This tells F_ReGrain what color space the grain sample clip was in when the grain originated. Setting this correctly ensures that the grain is not exaggerated by any color space conversions prior to sampling.

Cineon

sRGB

Linear

Advanced - The parameters under Advanced allow detailed adjustment of the grain.

Process Red - Switch this on to process the red channel.

Red Amount - sets the brightness of the grain in the red channel.

Red Size - adjusts the size of the grain granules in the red channel.

Process Green - Switch this on to process the green channel.

Green Amount - sets the brightness of the grain in the green channel.

Green Size - adjusts the size of the grain granules in the green channel.

Process Blue - Switch this on to process the blue channel.

Blue Amount - sets the brightness of the grain in the blue channel.

Blue Size - adjusts the size of the grain granules in the blue channel.

Grain Response - The parameters under Grain Response allow the amount of grain added to be varied as a function of the image luminance.

Apply Grain In - This controls what color space the grain sample is re-applied to the image.

Generally, this should be set to Grain Colour Space to ensure the most accurate recreation.

You may want to override this though for some looks or special cases.

Cineon / sRGB / Linear - The grain sample will be applied in the specified space.

Grain Colour Space - The Grain sample will be applied in the color space set in the Grain Colour Space dropdown menu, in the Grain Sample section.

Low Gain - adjusts the gain of the grain in the lowlights.

Mid Gain - adjusts the gain of the grain in the midtones.

High Gain - adjusts the gain of the grain in the highlights.

Use Sampled Response - switch this on to scale the brightness of the grain as a function of the luminance of the Grain image.

Sampled Response Mix - this control is usually set to 1. Decreasing it reduces the effect of the response curves until, at 0, they have no effect on the output. This parameter is only available if Use Sampled Response is on.

Sample Grain Response - press this to update the response curves from the current frame. Multiple presses accumulate the grain response rather than resetting every time. This parameter is only available if Use Sampled Response is on.

Reset Grain Response - press this to reset the grain curves to their default (flat) response. This parameter is only available if Use Sampled Response is on.

Draw Response - overlays the response curves on the bottom left corner of the viewer. This parameter is only available if Use Sampled Response is on.