NAME

kjb_create_image - Creates a float 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 


KJB_image *kjb_create_image
(
	int num_rows,
	int num_cols
);

DESCRIPTION

This routine creates a float image of the size specified by the arguments "num_rows" and "num_cols". Images are disposed of with the routine "kjb_free_image"

RETURNS

A pointer to the new image is returned on success. If the creation fails, NULL is returned with an appropriate error message being set.

NOTE

Usually the routine get_target_image is used to create images instead of this routine.

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_free_image , kjb_copy_image , get_image_window , get_zero_image , get_invalid_zero_image , get_initialized_image , get_initialized_image_2 , get_target_image