CVD::Interpolate::Bicubic Class Reference

#include <image_interpolate.h>


Detailed Description

This class is for bicubic (not bicubic spline) interpolation.

\[ v = \sum_{m=-1}^2\sum_{n=-1}^2 I(x' + m, y' + n)r(m - \delta_x)r(\delta_y-n) \]

where:

\[\begin{array}{rl} r(x) =& \frac{1}{6}\left[ p(x+2)^3 - 4p(x+1)^3 + 6p(x)^3 - 4p(x-1)^3 \right]\\ p(x) =& \begin{cases}x&x>0\\0&x \le 0\end{cases} \end{array}\]

This algorithm is described in http://astronomy.swin.edu.au/~pbourke/colour/bicubic/

Definition at line 56 of file image_interpolate.h.


The documentation for this class was generated from the following file:
Generated on Wed Feb 18 10:23:17 2009 for CVD by  doxygen 1.5.3