kjb_write_image - Writes a float image to a file
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 *ip,
const char *file_name
This routine writes a float image to a file. The image file format is
specified by the suffix of the file name. For example, if the argument
"file_name" is "xxx.tif", then the image is written as a TIFF file. If there
is no suffix, then the image file format will be sun raster. ".sun" or ".ras"
can also be used for sun raster. Practically any image format can be
specified provided that the appropriate conversion programs are in place for
the more unusual cases.
The suffixes ".mid" and ".kiff" are used to write the SFU specific MID and
KIFF file formats.
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.