Module:Sandbox/AlexNB/nmColor: Difference between revisions

Content deleted Content added
AlexNB (talk | contribs)
No edit summary
AlexNB (talk | contribs)
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 95:
end
 
local minAntiMagenta = 540550
local maxAntiMagenta = 570
 
Line 116:
bluevalue_BLUE = bluevalue*bias_BLUE
greenvalue_BLUE = greenvalue*bias_BLUE
redvalue = 0.36+ 0.4*(1 + redvalue_RED + redvalue_BLUE)
bluevalue = 0.3*(17 + 0.3*(bluevalue_RED + bluevalue_BLUE)
greenvalue = 0.3*(1 + greenvalue_RED + greenvalue_BLUE)
end