GammaGain can be used to adjust the overall gamma and gain of an image while maintaining the original perceived saturation.
GammaGain
Updated: 4 April 2017
Author: Darren
Compatible Nuke versions: 9.0 or later
Compatibility: Linux 64
GammaGain can be used to adjust the overall gamma and gain of an image while maintaining the original perceived saturation.
Grade node (gamma .5, gain 2) |
Original |
GammaGain (gamma .5, gain 2) |
![]() |
![]() |
![]() |
GammaGain can be found in the “Color” menu.
Adjust the gamma and gain sliders as you would with a standard “Grade” node.
“Restore saturation” can be used to adjust the overall saturation correction. A value of 0 will match the saturation of the original image, while a value of 1 will match the result of what you would get if you applied the same gamma and gain correction through a “Grade” node.
(you can also enter values below 0 to get the reverse of the saturation correction, or values above 1 to exaggerate the correction.)
InstallationCopy GammaGain.so to a startup directory.
Copy the following lines into your menu.py:
Import nuke
ColorMenu = nuke.menu('Nodes').menu('Color')
ColorMenu.addCommand('GammaGain', 'nuke.createNode('GammaGain')')