Table of Contents
QccIMGImageComponentExtractSubpixel - extract subpixel via bilinear
interpolation
#include "libQccPack.h"
int QccIMGImageComponentExtractSubpixel(const
QccIMGImageComponent *image_component, double x, double y, double *subpixel);
QccIMGImageComponentExtractSubpixel() extracts a subpixel
value from between pixel values on the integer-pixel grid. x and y give
the horizontal and vertical locations, recpectively, of the subpixel to
extract, which is calculated using bilinear interpolation on the four
nearest pixels in image_component with integer-valued row and column addresses.
This routine returns 0 on success and 1 on error.
QccIMGImageComponent(3)
, QccPackIMG(3)
, QccPack(3)
Copyright
(C) 1997-2021 James E. Fowler
Table of Contents