Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
RtmapsReader.hpp
00001 #ifndef _RTMAPS_READER_HPP_
00002 #define _RTMAPS_READER_HPP_
00003 
00004 #include "rtmapsException.hpp"
00005 
00006 #include <string>
00007 #include <image/Image.hpp>
00008 
00009 namespace jafar {
00010   namespace rtmaps {
00015     class RtmapsReader {
00016       public:
00017         RtmapsReader(const std::string& confFileName);
00018         jafar::image::Image imageAt(unsigned int i);
00019         inline int nbFrames() { return m_nbFrames; }
00020         inline int width() { return m_width; }
00021         inline int height() { return m_height; }
00022         inline int depth() { return 8; }
00023         inline std::string base() { return m_base; }
00024       private:
00025         jafar::image::Image readUYVY(unsigned int index);
00026         template<class T>
00027         T readValue(const std::string& line);
00028         std::string m_base, m_codingFormat, m_channelsSequence;
00029         int m_nbFrames, m_width, m_height;
00030     };
00031   }
00032 }
00033 
00034 
00035 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:26 for Jafar by doxygen 1.7.6.1
LAAS-CNRS