NAME

back_project_matrix - Converts chromaticity to RGB

SYNOPSIS

#include "c/c_projection.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 back_project_matrix
(
	Matrix **output_mpp,
	const Matrix *input_mp,
	Projection_method projection_method
);

DESCRIPTION

This routine converts the chromaticities in the matrix "*input_mp" to RGB using projection method designated by "projection_method". Not all projection methods are valid, and sending this routine and invalid one is treated as a bug. The value ones currently are DIVIDE_BY_RED, DIVIDE_BY_GREEN, DIVIDE_BY_BLUE, and DIVIDE_BY_SUM.

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

get_projection_matrix , get_divide_by_sum_projection_matrix , project_matrix , divide_by_sum_project_matrix , project_matrix_onto_unit_sphere , get_projection_vector , project_vector , back_project_vector