Vista     Main Page   Class List   Function List   File List   Examples  


CImageReader.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 
00020 #ifndef CImageReader_h
00021 #define CImageReader_h
00022 
00023 #include <CReader.h>
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 
00037 class MOTION2D_API CImageReader: public CReader
00038 {
00039  public:
00040   ~CImageReader();
00041 
00042   string getFileName();
00043   bool   getFrame(CMotion2DImage<unsigned char> & I, unsigned nbsubsample,
00044                     unsigned nrows=0, unsigned ncols=0);
00045   bool   getFrame(CMotion2DImage<short> & I, unsigned nbsubsample,
00046                   unsigned nrows=0, unsigned ncols=0);
00047   bool   openStream() {return true;};
00048   bool   closeStream() {return true; };
00049   void   getType() { cout <<" ImageReader "<<endl;};
00050   EReaderFormat getFormat();
00051   unsigned getNbSubsample();
00052 };
00053 
00054 #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