NAME

verify_image - (MACRO) Debug verification of a image

SYNOPSIS

#include "i/i_float.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 


void verify_image(const KJB_image *ip);

DESCRIPTION

When TEST is defined (typically this is "development" mode), verify_image checks that all elements of a image are valid numbers. NULL input is considered valid. If invalid numbers are found, then they are set to zero, and a warning is printed. Wen TEST is not defined (typically "production" mode), then verify_image becomes a NOP.

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

Invalid_pixel , Pixel_extra , Pixel , Pixel_info , KJB_image