NAME
display_matrix - Displays a matrix as a black and white image
SYNOPSIS
#include "i/i_float_io.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 display_matrix
(
const Matrix *mp,
const char *title
);
DESCRIPTION
This routine is used to display a matrix as a black and white image using
kjb_display_image().
RETURNS
On success, the image number is returned. This number can be used as a
handle to manipulate the image from the program (actually, not much has
been implemented here, but you can close the image). On failure, ERROR is
returned on failure, with and appropriate error message being set .
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_read_image
,
kjb_read_image_2
,
kjb_write_image
,
kjb_display_image