Table of Contents

NAME

QccIMGImageComponentExtractSubpixel - extract subpixel via bilinear interpolation

SYNOPSIS

#include "libQccPack.h"

int QccIMGImageComponentExtractSubpixel(const QccIMGImageComponent *image_component, double x, double y, double *subpixel);

DESCRIPTION

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.

RETURN VALUES

This routine returns 0 on success and 1 on error.

SEE ALSO

QccIMGImageComponent(3) , QccPackIMG(3) , QccPack(3)

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



Get QccPack at SourceForge.net. Fast, secure and Free Open Source software downloads