LTI-Lib latest version v1.9 - last update 10 Apr 2010

ltiInterpolatorType.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2003, 2004, 2005, 2006
00003  * Lehrstuhl fuer Technische Informatik, RWTH-Aachen, Germany
00004  *
00005  * This file is part of the LTI-Computer Vision Library (LTI-Lib)
00006  *
00007  * The LTI-Lib is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public License (LGPL)
00009  * as published by the Free Software Foundation; either version 2.1 of
00010  * the License, or (at your option) any later version.
00011  *
00012  * The LTI-Lib is distributed in the hope that it will be
00013  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
00014  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with the LTI-Lib; see the file LICENSE.  If
00019  * not, write to the Free Software Foundation, Inc., 59 Temple Place -
00020  * Suite 330, Boston, MA 02111-1307, USA.
00021  */
00022 
00023 
00024 /*----------------------------------------------------------------
00025  * project ....: LTI Digital Image/Signal Processing Library
00026  * file .......: ltiInterpolatorType.h
00027  * authors ....: Pablo Alvarado
00028  * organization: LTI, RWTH Aachen
00029  * creation ...: 21.11.2003
00030  * revisions ..: $Id: ltiInterpolatorType.h,v 1.3 2006/02/08 11:19:02 ltilib Exp $
00031  */
00032 
00033 #ifndef _LTI_INTERPOLATOR_TYPE_H_
00034 #define _LTI_INTERPOLATOR_TYPE_H_
00035 
00036 #include "ltiIoHandler.h"
00037 
00038 /**
00039  * \file ltiInterpolatorType.h Defines the enumeration type eInterpolatorType
00040  *       used in many places to specify which kind of interpolation should be
00041  *       employed.
00042  */
00043 
00044 namespace lti {
00045 
00046   /**
00047    * Interpolation Type.
00048    *
00049    * This type is used to indicate how sub-pixel position should be computed.
00050    */
00051   enum eInterpolatorType {
00052     NearestNeighborInterpolator, /**< Nearest Neighbor Interpolator */
00053     BilinearInterpolator,        /**< Bilinear Interpolator */
00054     BiquadraticInterpolator,     /**< Biquadratic Taps Interpolator */
00055     BicubicInterpolator          /**< Bicubic Interpolator */
00056   };
00057   
00058   /**
00059    * read function for eInterpolatorType.
00060    *
00061    * @ingroup gStorable
00062    */
00063   bool read(ioHandler& handler,eInterpolatorType& data);
00064 
00065   /**
00066    * write function for eInterpolatorType.
00067    *
00068    * @ingroup gStorable
00069    */
00070   bool write(ioHandler& handler,const eInterpolatorType& data);
00071 
00072   
00073 }
00074 #endif

Generated on Sat Apr 10 15:25:40 2010 for LTI-Lib by Doxygen 1.6.1