Table of Contents
QccIMGImageComponentInterpolateBilinear, QccIMGImageComponentInterpolateFilter
- interpolation of an image component
#include "libQccPack.h"
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.
These routines return 0 on success and 1 on error.
QccFilterVector(3)
, QccIMGImageComponent(3)
, QccPackIMG(3)
, QccPack(3)
Copyright (C) 1997-2021 James E. Fowler
Table of Contents