00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __TLSCALE_H__
00018 #define __TLSCALE_H__
00019
00020
00021
00022 #define TL_SCALE_DECIMATE 0
00023 #define TL_SCALE_BSPLINE 1
00024
00025
00026 #include "tlVision.h"
00027
00028
00029
00030 tlPixel* tl_scale_decimate (tlPixel *src, float factor, int width, int height, int pixel_width);
00031 tlPixel* tl_scale_decimate (tlPixel *src, int new_width, int new_height, int width, int height, int pixel_width);
00032
00033
00034 int tl_scale_bspline_init (tlPixel *src, int width, int height, int pixel_width);
00035 tlPixel *tl_scale_bspline (float factor);
00036 tlPixel *tl_scale_bspline (int new_width, int new_height);
00037 int tl_scale_bspline_cleanup ();
00038
00039
00040 #endif