convert_image_rgb_to_xyz - Converts image RGB to XYZ
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
const KJB_image *in_ip
This routine converts the image RGB to XYZ based on an RGB to XYZ matrix. If
KJB library options are being made available to the user, then this matrix
can be set using the option "rgb-to-xyz-file". If no conversion file has
been set, than a default one is used. If no default is available, then sRGB
The output is put into *out_ipp. If *out_ipp is NULL, then it is
created. If it is the wrong size, then it is resized. If it is the right
size, the storage is recycled.
NO_ERROR on success and ERROR on failure, with an error message being set.
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.