NAME
subtract_images - Computes the difference of two images.
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 subtract_images
(
KJB_image **out_ipp,
const KJB_image *in1_ip,
const KJB_image *in2_ip
);
DESCRIPTION
This routine computes the difference of two images. The result is put into
*out_ipp which is created or resized if necessary.
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
,
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