| synopsis || arguments || prev || next |
Overload navigation: 1, 2, 3, 4, 5, 6
void init( const double xy_red[], const double xy_green[], const double xy_blue[], double gamma, double beta=0.0, int num_points=100, bool reference_is_D50=false)
Java: void Init( double[] xy_red, double[] xy_green, double[] xy_blue, double gamma, double beta, int num_points, boolean reference_is_D50)
[Declared in "../apps/compressed_io/jp2.h"]
Same as the third form of this overloaded function, except that a restricted ICC profile is automatically generated to describe an RGB space having primaries, reference illuminant and gamma function given by the various parameters.
The reference primaries of the colour space are defined by x-y chromaticity coordinates (xy_red[0],xy_red[1]), (xy_green[0],xy_green[1]) and (xy_blue[0],xy_blue[1]). The reference illuminant is either D50 or D65 (default), depending on the value of the reference_is_D50 argument. Equal quantities of the reference primaries produce the adapted whitepoint of this illuminant.
For a description of the gamma and beta parameters, consult the description found with the third form of this overloaded function.
2-element array containing the red (first) channel's chromaticity coordinates.
2-element array containing the green (second) channel's chromaticity coordinates.
2-element array containing the blue (third) channel's chromaticity coordinates.
See above. Note that the function does not currently accept gamma values less than 1.
See above. Note that beta must be in the range 0 (inclusive) to 1 (exclusive).
Used only if beta != 0, in which case the gamma function must be described through tabulated values.
If true, the reference illuminant is D50 and equal quantities of the three channel values produce the adapted whitepoint for this illuminant. Otherwise, the reference illuminant is D65, and equal quantities of the three channel values produce the adapted whitepoint for D65.