Lines Matching refs:PgmImage
17 #include "PgmImage.h"
22 PgmImage::PgmImage(std::string filename) :
29 PgmImage::PgmImage(int w, int h, int format) :
35 PgmImage::PgmImage(unsigned char *data, int w, int h) :
41 PgmImage::PgmImage(std::vector<unsigned char> &data, int w, int h) :
51 PgmImage::PgmImage(const PgmImage &im) :
57 PgmImage& PgmImage::operator= (const PgmImage &im)
64 void PgmImage::DeepCopy(const PgmImage& src, PgmImage& dst)
78 PgmImage::~PgmImage()
83 void PgmImage::SetFormat(int format)
102 void PgmImage::SetData(const unsigned char * data)
109 bool PgmImage::ReadPGM(const std::string filename)
178 bool PgmImage::WritePGM(const std::string filename, const std::string comment)
205 void PgmImage::SetupRowPointers()
227 void PgmImage::ConvertToGray()
241 std::ostream& operator<< (std::ostream& o, const PgmImage& im)
248 case PgmImage::PGM_BINARY_PIXMAP:
251 case PgmImage::PGM_BINARY_GRAYMAP: