Vista     Main Page   Class List   Function List   File List   Examples  


Motion2DImage_RAW.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_RAW_h
00016 #define Motion2DImage_RAW_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 
00067 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00068 MOTION2D_API
00069 #endif
00070 bool ReadRAW8(CMotion2DImage<unsigned char> &I,
00071               const char filename[FILENAME_MAX],
00072               unsigned nb_rows, unsigned nb_cols);
00089 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00090 MOTION2D_API
00091 #endif
00092 bool ReadRAW8(CMotion2DImage<short> &I,
00093               const char filename[FILENAME_MAX],
00094               unsigned nb_rows, unsigned nb_cols);
00110 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00111 MOTION2D_API
00112 #endif
00113 bool ReadRAW16(CMotion2DImage<short> &I,
00114                const char filename[FILENAME_MAX],
00115                unsigned nb_rows, unsigned nb_cols);
00116 
00130 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00131 MOTION2D_API
00132 #endif
00133 bool WriteRAW8(CMotion2DImage<unsigned char> I, const char *filename);
00150 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00151 MOTION2D_API
00152 #endif
00153 bool WriteRAW8(CMotion2DImage<short> I, const char *filename);
00167 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00168 MOTION2D_API
00169 #endif
00170 bool WriteRAW16(CMotion2DImage<short> I, const char *filename);
00171 
00172 #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