< Previous | Contents | Next >
The amount by which to gain the image.
function Process(req)
local img
local gain
= InImage:GetValue(req)
= InGain:GetValue(req).Value
local newimg = img:Copy() newimg:Gain(gain, gain, gain, gain)
OutImage:Set(req, newimg)
end