NAME

kjb_read_image_2 - Reads an image into the kjb image data structure

SYNOPSIS

#include "i/i_float_io.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int kjb_read_image_2
(
	KJB_image **ipp,
	const char *file_name_and_sub_image
);

DESCRIPTION

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 is available.

RETURNS

NO_ERROR on sucess and ERROR on failure, with an error message being set.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

kjb_read_image , kjb_write_image , display_matrix , kjb_display_image