latest version v1.9 - last update 10 Apr 2010 |
00001 /* 00002 * Copyright (C) 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 .......: ltiKernelType.h 00027 * authors ....: Bodo Hoffmann 00028 * organization: LTI, RWTH Aachen 00029 * creation ...: 11.07.2004 00030 * revisions ..: $Id: ltiKernelType.h,v 1.2 2006/02/07 19:08:35 ltilib Exp $ 00031 */ 00032 00033 #ifndef _LTI_KERNELTYPE_H_ 00034 #define _LTI_KERNELTYPE_H_ 00035 00036 #include "ltiIoHandler.h" 00037 00038 namespace lti { 00039 00040 /** 00041 * kernel type. 00042 * This type indicates what kind of symmetry a kernel owns. 00043 * 00044 * For this type the methods read(ioHandler&, eKernelType&) and 00045 * write(ioHandler&, const eKernelType&) are implemented. Note 00046 * that template functions read(ioHandler&, const std::string&, T&) 00047 * and write(ioHandler&, const std::string&, const T&) exist. (see 00048 * Developer's Guide for further information). 00049 */ 00050 enum eKernelType { 00051 Default, /**< There are no known symmetries found.*/ 00052 Asymmetric, /**< Left part of kernel has negativ value of right part*/ 00053 Symmetric, /**< Left part of kernel is equal to right part*/ 00054 }; 00055 00056 /** 00057 * read function for eKernelType. 00058 * 00059 * @ingroup gStorable 00060 */ 00061 bool read(ioHandler& handler,eKernelType& data); 00062 00063 /** 00064 * write function for eKernelType. 00065 * 00066 * @ingroup gStorable 00067 */ 00068 bool write(ioHandler& handler,const eKernelType& data); 00069 00070 00071 } 00072 #endif