Content deleted Content added
No edit summary |
No edit summary |
||
(46 intermediate revisions by the same user not shown) | |||
Line 95:
end
local minAntiMagenta =
local maxAntiMagenta = 570
Line 105:
local bluevalue_BLUE
local greenvalue_BLUE
local widthAntiMagenta = maxAntiMagenta - minAntiMagenta
local bias_BLUE = (wavelength_abs - minAntiMagenta)/widthAntiMagenta
redvalue_RED = redvalue▼
local bias_RED = (maxAntiMagenta - wavelength_abs)/widthAntiMagenta
bluevalue_RED = bluevalue▼
nm2RGB(700, false)
greenvalue_RED = greenvalue▼
▲ redvalue_RED = redvalue*bias_RED
▲ bluevalue_RED = bluevalue*bias_RED
redvalue_BLUE = redvalue▼
▲ greenvalue_RED = greenvalue*bias_RED
bluevalue_BLUE = bluevalue▼
nm2RGB(400, false)
greenvalue_BLUE = greenvalue▼
▲ redvalue_BLUE = redvalue*bias_BLUE
redvalue = (redvalue_RED + redvalue_BLUE)/2*0▼
▲ bluevalue_BLUE = bluevalue*bias_BLUE
bluevalue = (bluevalue_RED + bluevalue_BLUE)/2*0▼
▲ greenvalue_BLUE = greenvalue*bias_BLUE
greenvalue = (greenvalue_RED + greenvalue_BLUE)/2*0▼
end
|