TLIB documentation
 

tlScale.h

Go to the documentation of this file.
00001 /////////////////////////////////////////////////////////////////////////////////
00002 //
00003 //  This file is part of the TLIB computer vision library.
00004 //  Copyright (C) 2003-2008 Sebastien Grange
00005 //  Copyright (C) 2003-2007 VRAI Group, EPFL
00006 //  All rights reserved.
00007 // 
00008 //  This library is free software; you can redistribute it and/or modify
00009 //  it under the terms of the GNU General Public License("GPL") version 2
00010 //  as published by the Free Software Foundation.
00011 // 
00012 //  <http://www.tuyphon.com/tlib>
00013 //
00014 /////////////////////////////////////////////////////////////////////////////////
00015 
00016 
00017 #ifndef __TLSCALE_H__
00018 #define __TLSCALE_H__
00019 
00020 
00021 // edge extraction method
00022 #define TL_SCALE_DECIMATE  0
00023 #define TL_SCALE_BSPLINE   1
00024 
00025 
00026 #include "tlVision.h"
00027 
00028 
00029 // decimation scaling
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 // bspline scaling
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


TLIB documentation - generated on 7 May 2008
Please address any questions to seb@tuyphon.com
(C) 2001-2008 - S. Grange
(C) 2001-2007 - VRAI Group, EPFL
All Rights Reserved.