dlrComputerVision/imageIO.h

Go to the documentation of this file.
00001 
00015 #ifndef _DLRCOMPUTERVISION_IMAGEIO_H_
00016 #define _DLRCOMPUTERVISION_IMAGEIO_H_
00017 
00018 
00019 #include <string>
00020 #include <dlrComputerVision/image.h>
00021 
00022 namespace dlr {
00023 
00024   namespace computerVision {
00025   
00026     Image<GRAY8>
00027     readPGM8(const std::string& fileName);
00028 
00029   
00030     Image<GRAY8>
00031     readPGM8(const std::string& fileName, std::string& commentString);
00032 
00033   
00034     Image<GRAY16>
00035     readPGM16(const std::string& fileName);
00036 
00037   
00038     Image<RGB8>
00039     readPPM8(const std::string& fileName);
00040 
00041   
00042     void
00043     writePGM8(const std::string& fileName,
00044               const Image<GRAY8>& outputImage,
00045               const std::string& comment = "");
00046   
00047   
00048     void
00049     writePGM16(const std::string& fileName,
00050                const Image<GRAY16>& outputImage,
00051                const std::string& comment = "");
00052   
00053 
00054     void
00055     writePPM8(const std::string& fileName,
00056               const Image<RGB8>& outputImage,
00057               const std::string& comment = "");
00058     
00059   } // namespace computerVision
00060 
00061 } // namespace dlr
00062 
00063 
00064 #endif /* #ifndef _DLRCOMPUTERVISION_IMAGEIO_H_ */

Generated on Mon Jul 9 20:34:03 2007 for dlrLibs Utility Libraries by  doxygen 1.5.2