Skip to content

AutoGain

Julek edited this page Jan 18, 2023 · 1 revision

Adjusts the image light, not as powerful as retinex but way faster.
Resizes the smallest value to 0 and the maximum value to the peak.
Example: https://slow.pics/c/AGkc4DBP

Usage

core.julek.AutoGain(vnode clip [, int[] planes=[0, 1, 2]])

Parameters:

  • clip
    Clip to process.
    Any format with either integer sample type of 8-16 bit depth or float sample type of 32 bit depth is supported.

  • planes
    Sets which planes will be processed.
    By default it will be [0, 1, 2] for the RGB format and [0] for the others.

Clone this wiki locally