kjb_read_image_2 - Reads an image into the kjb image data structure
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 char *file_name_and_sub_image
This routine reads an image from a file into the kjb image structure which is
a floating point RGB representation. For doing so with various pre-processing
options, see kjb_read_image.
This routine natively reads sun-raster, simple jpeg, simple tiff, and the
home grown floating point formats kiff, and mid. In addition, it will arrange
conversion from most other 24-bit formats, provided that a conversion program
NO_ERROR on sucess 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.