NAME
create_lut - Creates a lut of the specified characteristics
SYNOPSIS
#include "m/m_lut.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
Lut *create_lut
(
int lut_len,
double offset,
double step
);
DESCRIPTION
This routine creates a lut of the specified characteristics. The lut
should be disposed of with free_lut().
RETURNS
On succes, a pointer to a freshly allocated lut is returned. On
failure, NULL is returned, and an error message is set.
RELATED
Lut
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
free_lut
,
get_target_lut
,
copy_lut
,
convert_lut
,
read_lut_from_config_file
,
read_lut
,
fp_read_lut
,
write_lut
,
fp_write_lut
,
apply_lut_inverse