refinery
RAW file processor

include/refinery/output.h

00001 #ifndef _REFINERY_OUTPUT_H
00002 #define _REFINERY_OUTPUT_H
00003 
00004 #include <iosfwd>
00005 
00006 namespace refinery {
00007 
00008 template<typename T> class RGBPixel;
00009 template<typename T> class Image;
00010 typedef Image<RGBPixel<unsigned short> > RGBImage;
00011 
00019 class ImageWriter {
00020 public:
00028   void writeImage(
00029       const RGBImage& image, std::ostream& ostream, unsigned int colorDepth = 8);
00030 
00038   void writeImage(
00039       const RGBImage& image, const char* filename, unsigned int colorDepth = 8);
00040 };
00041 
00042 } // namespace refinery
00043 
00044 #endif /* REFINERY_OUTPUT_H */
 All Classes Functions Variables Typedefs Enumerations Enumerator