Vista     Main Page   Class List   Function List   File List   Examples  


Motion2DImage_PNM.h

Go to the documentation of this file.
00001 /*
 00002 
 00003   Copyright (c) 1995-2005 by INRIA.
 00004   All Rights Reserved.
 00005 
 00006   This software was developed at:
 00007   IRISA/INRIA Rennes
 00008   Campus Universitaire de Beaulieu
 00009   35042 Rennes Cedex
 00010 
 00011   http://www.irisa.fr
 00012 
 00013 */
 00014 
 00015 #ifndef Motion2DImage_PNM_h
 00016 #define Motion2DImage_PNM_h
 00017 
 00018 #include <stdio.h>
 00019 #include <stdlib.h>
 00020 
 00021 #include <CMotion2DImage.h>
 00022 
 00023 using namespace std;
 00024 
 00025 #if defined (WIN32)
 00026 #  if defined MOTION2D_DLL_EXPORTS
 00027 #     define MOTION2D_API __declspec( dllexport )
 00028 #  elif defined MOTION2D_DLL_IMPORTS
 00029 #     define MOTION2D_API __declspec( dllimport )
 00030 #  else
 00031 #     define MOTION2D_API
 00032 #  endif
 00033 #else
 00034 #     define MOTION2D_API
 00035 #endif
 00036 
 00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00058 MOTION2D_API
 00059 #endif
 00060 bool ReadPGM(CMotion2DImage<unsigned char> &I,
 00061              const char filename[FILENAME_MAX]);
 00062 
 00078 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00079 MOTION2D_API
 00080 #endif
 00081 bool ReadPGM(CMotion2DImage<short> &I,
 00082              const char filename[FILENAME_MAX]);
 00083 
 00102 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00103 MOTION2D_API
 00104 #endif
 00105 bool ReadPPM(CMotion2DImage<unsigned char> &I,
 00106              const char filename[FILENAME_MAX]);
 00107 
 00126 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00127 MOTION2D_API
 00128 #endif
 00129 bool ReadPPM(CMotion2DImage<short> &I,
 00130              const char filename[FILENAME_MAX]);
 00131 
 00142 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00143 MOTION2D_API
 00144 #endif
 00145 bool WritePGM(CMotion2DImage<unsigned char> I, const char *filename);
 00159 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00160 MOTION2D_API
 00161 #endif
 00162 bool WritePGM(CMotion2DImage<short> I, const char *filename);
 00163 
 00176 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00177 MOTION2D_API
 00178 #endif
 00179 bool WritePPM(CMotion2DImage<unsigned char> I, const char *filename);
 00180 
 00193 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 00194 MOTION2D_API
 00195 #endif
 00196 bool WritePPM(CMotion2DImage<short> I, const char *filename);
 00197 
 00198 
 00199 #endif
 

Motion2D is Copyright © 1995-2005 by Inria
This documentation was generated on 31 Jan 2005 by Fabien Spindler for Motion2D 1.3.11 using doxygen1.2.18 written by Dimitri van Heesch, © 1997-2005