IceImageDecompressor.H

00001 #ifndef ICEIMAGEDECOMPRESSION_H
00002 #define ICEIMAGEDECOMPRESSION_H
00003 
00004 #include "Image/Image.H"
00005 #include "Image/PixelsTypes.H"
00006 #include <stdio.h>
00007 #include <jpeglib.h>
00008 #include "Ice/ImageIce.ice.H"
00009 
00010 class IceImageDecompressor
00011 {
00012   public:
00013     IceImageDecompressor();
00014 
00015     Image<PixRGB<byte> > DecompressImage(std::vector<unsigned char> &img_buffer);
00016 
00017   private:
00018 
00019     //Structure to hold all of our jpeg compression parameters
00020     struct jpeg_decompress_struct cinfo;
00021 
00022     //Structure to handle all of our errors
00023     struct jpeg_error_mgr jerr;
00024 
00025     GLOBAL(void) InitImageIceSource(std::vector<unsigned char>* source_buffer);
00026 
00027 
00028 
00029 };
00030 
00031 #endif
Generated on Sun May 8 08:40:44 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3