#include "tlVision.h"
Go to the source code of this file.
Defines | |
#define | TL_SCALE_DECIMATE 0 |
#define | TL_SCALE_BSPLINE 1 |
Functions | |
tlPixel * | tl_scale_decimate (tlPixel *src, float factor, int width, int height, int pixel_width) |
Decimation interpolation. | |
tlPixel * | tl_scale_decimate (tlPixel *src, int new_width, int new_height, int width, int height, int pixel_width) |
Decimation interpolation. | |
int | tl_scale_bspline_init (tlPixel *src, int width, int height, int pixel_width) |
Fast bspline interpolation initialization. | |
tlPixel * | tl_scale_bspline (float factor) |
Fast bspline interpolation. | |
tlPixel * | tl_scale_bspline (int new_width, int new_height) |
Fast bspline interpolation. | |
int | tl_scale_bspline_cleanup () |
Fast bspline interpolation cleanup. |
#define TL_SCALE_BSPLINE 1 |
Scaling method that uses bicubic splines to interpolate scaled pixel values. Slower, yet best method (minimizes scaling error). The version used here uses order 2 polynomials (NOT bicubic) for optimization purposes.
#define TL_SCALE_DECIMATE 0 |
Scaling method that uses decimation (pick the nearest pixel). This is a fast, noisy (inaccurate) scaling method.