NAME

ow_hdrc_demosaic - Demosaics an image in a using the HDRC sensor pattern

SYNOPSIS

#include "i/i_hdrc.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_hdrc_demosaic(KJB_image *ip);

DESCRIPTION

This routine demosaics an image according to the HDRC colour camera "brick wall" sensor pattern. With this pattern, each pixel has six, rather than the usual four neighbours. The image is overwritten with the demosaiced result.

RETURNS

NO_ERROR on success and ERROR on failure, with an error message being set. hdrc, images, image demosaicing

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

set_hdrc_options , set_hdrc_fixed_pixel_correction_file