NAME
ow_max_thresh_image - Thresholds pixel components
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_max_thresh_image
(
KJB_image *ip,
double max
);
DESCRIPTION
This routine sets all pixel components greather than the threshold "max" to
max, leaving the others untouched.
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_add_vector_to_image
,
ow_min_thresh_image
,
log_one_plus_image
,
ow_log_one_plus_image
,
ow_log_brightness_image
,
ow_exponantiate_image