Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Types.h
Go to the documentation of this file.
00001 /********************************************************************
00002 **                Image Component Library (ICL)                    **
00003 **                                                                 **
00004 ** Copyright (C) 2006-2013 CITEC, University of Bielefeld          **
00005 **                         Neuroinformatics Group                  **
00006 ** Website: www.iclcv.org and                                      **
00007 **          http://opensource.cit-ec.de/projects/icl               **
00008 **                                                                 **
00009 ** File   : ICLCore/src/ICLCore/Types.h                            **
00010 ** Module : ICLCore                                                **
00011 ** Authors: Christof Elbrechter, Robert Haschke                    **
00012 **                                                                 **
00013 **                                                                 **
00014 ** GNU LESSER GENERAL PUBLIC LICENSE                               **
00015 ** This file may be used under the terms of the GNU Lesser General **
00016 ** Public License version 3.0 as published by the                  **
00017 **                                                                 **
00018 ** Free Software Foundation and appearing in the file LICENSE.LGPL **
00019 ** included in the packaging of this file.  Please review the      **
00020 ** following information to ensure the license requirements will   **
00021 ** be met: http://www.gnu.org/licenses/lgpl-3.0.txt                **
00022 **                                                                 **
00023 ** The development of this software was supported by the           **
00024 ** Excellence Cluster EXC 277 Cognitive Interaction Technology.    **
00025 ** The Excellence Cluster EXC 277 is a grant of the Deutsche       **
00026 ** Forschungsgemeinschaft (DFG) in the context of the German       **
00027 ** Excellence Initiative.                                          **
00028 **                                                                 **
00029 ********************************************************************/
00030 
00031 #pragma once
00032 
00033 #include <ICLUtils/BasicTypes.h>
00034 
00035 namespace icl {
00036   namespace core{
00037   
00038     //forward declaration for the Image interface \ingroup TYPES
00039     class ImgBase;
00040   
00042     template<class T> class Img;
00043   
00045     typedef Img<icl8u> Img8u;
00046   
00048     typedef Img<icl16s> Img16s;
00049   
00051     typedef Img<icl32s> Img32s;
00052   
00054     typedef Img<icl32f> Img32f;
00055   
00057     typedef Img<icl64f> Img64f;
00058   
00060     enum depth{
00061       depth8u  = 0, 
00062       depth16s = 1, 
00063       depth32s = 2, 
00064       depth32f = 3, 
00065       depth64f = 4, 
00066       depthLast = depth64f
00067     };
00068     
00070     enum format{
00071       formatGray   = 0, 
00072       formatRGB    = 1, 
00073       formatHLS    = 2, 
00074       formatYUV    = 3, 
00075       formatLAB    = 4, 
00076       formatChroma = 5, 
00077       formatMatrix = 6, 
00078       formatLast = formatMatrix
00079     };
00080     
00081   
00082   #ifdef ICL_HAVE_IPP
00083 
00084     enum scalemode{
00085       interpolateNN=IPPI_INTER_NN,      
00086       interpolateLIN=IPPI_INTER_LINEAR, 
00087       interpolateRA=IPPI_INTER_SUPER    
00088     };
00089   #else
00090 
00091     enum scalemode{
00092       interpolateNN,  
00093       interpolateLIN, 
00094       interpolateRA   
00095     };
00096   #endif
00097   
00099     enum axis{
00100   #ifdef ICL_HAVE_IPP
00101       axisHorz=ippAxsHorizontal, 
00102       axisVert=ippAxsVertical,   
00103       axisBoth=ippAxsBoth        
00104   #else
00105       axisHorz, 
00106       axisVert, 
00107       axisBoth  
00108   #endif
00109     };
00110   } // namespace core
00111 }
00112 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines