NAME
ow_scale_image_by_channel - Scales each channel of 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_scale_image_by_channel
(
KJB_image *in_ip,
Vector *scale_vp
);
DESCRIPTION
This routine scales each image channel by a different scale factor. The scale
factors are in the vector argument "scale_vp". The scaling is done in place,
changing the input image.
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
,
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_add_vector_to_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