1 #ifndef PORTABLEBITMAPRREADER_H
2 #define PORTABLEBITMAPRREADER_H
17 bool isBlack(
unsigned int i,
unsigned int j)
const;
19 void print(std::ostream &out)
const;
27 unsigned int getIdx(
unsigned int h,
unsigned int w)
const;
65 "Pixel number out of bounds");
PortableBitmapReader(const std::string &input)
std::vector< bool > pixels_m
std::vector< bool > getPixels() const
std::string getNextPart(std::istream &in)
The base class for all OPAL exceptions.
void readImageAscii(std::istream &in)
bool isBlack(unsigned int i, unsigned int j) const
unsigned int getHeight() const
unsigned int getWidth() const
void readImageBinary(std::istream &in)
void readHeader(std::istream &in)
unsigned int getIdx(unsigned int h, unsigned int w) const
void print(std::ostream &out) const