NAME

ow_add_vector_to_image - Adds an RGB from each pixel in an image

SYNOPSIS

#include "i/i_arithmetic.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 ow_add_vector_to_image
(
	KJB_image *ip,
	const Vector *vp
);

DESCRIPTION

This routine adds the RGB in the vector pointed to by the input argument "vp" to each pixel in the image pointed to by "ip".

RETURNS

NO_ERROR on sucess and ERROR on failure.

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

power_image , ow_power_image , ow_scale_image , scale_image , ow_scale_image_by_channel , scale_image_by_channel , subtract_images , ow_subtract_images , multiply_images , ow_multiply_images , divide_images , ow_divide_images , ow_min_of_images , add_images , ow_add_images , ow_subtract_vector_from_image , ow_min_thresh_image , ow_max_thresh_image , log_one_plus_image , ow_log_one_plus_image , ow_log_brightness_image , ow_exponantiate_image