NAME
kjb_image_to_bw_byte_image - Converts a KJB_image to a bw_byte_image
SYNOPSIS
#include "i/i_bw_byte.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_image_to_bw_byte_image
(
Bw_byte_image **bw_image,
const KJB_image *kjb_image
);
DESCRIPTION
This routine converts a KJB_image to a bw_byte_image by averaging the
pixel values of kjb_image.
RETURNS
NO_ERROR on sucess and ERROR on failure with an error message being set.
RELATED
Bw_byte_image, KJB_image
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kate Spriggs
DOCUMENTER
Ernesto Brau
SEE ALSO
get_target_bw_byte_image
,
bw_byte_image_to_kjb_image
,
rotate_bw_byte_image
,
kjb_copy_bw_byte_image
,
get_bw_byte_image_face_region