
2 0 H a M e s i l a S t . , N e s h e r 3 6 8 8 5 2 0 , I s r a e l
P O B 2 5 0 0 4 , H a i f a 3 1 2 5 0 0 1 , I s r a e l
T e l : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 0 0 F a x : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 1 1
Page no. 39 | Appendix No. 1
Example:
// Add LUT sample points to preset 1 and start curve interpolation.
// Set following points: (0, 200), (4095, 800), (300, 500), (700, 600). This will result in new image range
// from 200 (index 0 and up) to 800 (index 4095 and down)
lut_enable 0 0 // disable lut
lut_mode 0 // select lut mode 0 (
Table based using interpolation)
lut_preset 1 // select preset 1 to modify
lut_reset // reset preset 1
lut_sample_master 0 200 4095 800 // up to 8 pairs of point
lut_sample_master 300 500 700 600 // up to 8 pairs of point
lut_interpolate // interpolate lut table, fill in values between the specified samples
lut_enable 0 1 // enable lut
8.11.5
lut_sample_red <xi_0> <yi_0> ... <xi_7> <yi_7>
, but only for red component.
8.11.6
lut_sample_green <xi_0> <yi_0> ... <xi_7> <yi_7>
, but only for green component.
8.11.7
lut_sample_blue <xi_0> <yi_0> ... <xi_7> <yi_7>
, but only for red component.
8.11.8
lut_interpolate
Interpolates all look up tables based on the given sample points - fill in lut values in between the specified samples
according to a spline interpolator.
8.11.9
lut_interpolate_red
Interpolates the red look up table based on the given sample points.
8.11.10
lut_interpolate_green
Interpolates the red look up table based on the given sample points.
8.11.11
lut_interpolate_blue
Interpolates the red look up table based on the given sample points.
8.11.12
lut_reset_master
Clears all color channels look up sample points.