Table of Contents

NAME

QccIMGImageComponentInterpolateBilinear, QccIMGImageComponentInterpolateFilter - interpolation of an image component

SYNOPSIS

#include "libQccPack.h"

DESCRIPTION

QccIMGImageComponentInterpolateBilinear() performs bilinear interpolation on image_component1 producing an image component of twice the size which is returned as image_component2. image_component2 must be allocated such that its number of rows and number of columns are twice the number of rows and columns, respectively, of image_component1; this allocation must be done prior to calling QccIMGImageComponentInterpolateBilinear().

QccIMGImageComponentInterpolateFilter() also performs interpolation of image_component1 to twice its size, returning the larger image component as image_component2. However, unlike QccIMGImageComponentInterpolateBilinear(), QccIMGImageComponentInterpolateFilter() uses an explicit interpolation filter, rather than bilinear interpolation. QccFilterVector(3) with symmetric extension at the image-component boundaries is used successively on the rows and columns of image_component1 to provide the interpolated pixels.

RETURN VALUES

These routines return 0 on success and 1 on error.

SEE ALSO

QccFilterVector(3) , 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