#include <sspt_image.h>
Public Types | |
| enum | ImageType {  BINARY, GRAYSCALE, GRAYSCALE_ALPHA, RGB, RGBA, STRUCTURE_ELEMENT }  | 
| enum | MaskType { MASK_DONT_CARE, MASK_ZERO, MASK_ONE } | 
Public Member Functions | |
| sspt_Image () | |
| sspt_Image (enum ImageType t, unsigned long width, unsigned long height) | |
| ~sspt_Image () | |
| bool | readImage (const char *filename) | 
| bool | readImage (const char *filename, enum ImageType convertTo) | 
| bool | writeImage (const char *filename) | 
| bool | offset (unsigned long *result, unsigned long row, unsigned long column) | 
| bool | pasteInto (const sspt_Image &src, unsigned long row, unsigned long column) | 
Public Attributes | |
| enum ImageType | type | 
| unsigned long | width | 
| unsigned long | height | 
| unsigned char * | buffer | 
| unsigned char ** | rows | 
| enum sspt_Image::MaskType | 
| sspt_Image::sspt_Image | ( | ) | 
| sspt_Image::sspt_Image | ( | enum ImageType | t, | |
| unsigned long | width, | |||
| unsigned long | height | |||
| ) | 
| sspt_Image::~sspt_Image | ( | ) | 
| bool sspt_Image::offset | ( | unsigned long * | result, | |
| unsigned long | row, | |||
| unsigned long | column | |||
| ) | 
| bool sspt_Image::pasteInto | ( | const sspt_Image & | src, | |
| unsigned long | row, | |||
| unsigned long | column | |||
| ) | 
| bool sspt_Image::readImage | ( | const char * | filename, | |
| enum ImageType | convertTo | |||
| ) | 
| bool sspt_Image::readImage | ( | const char * | filename | ) | 
| bool sspt_Image::writeImage | ( | const char * | filename | ) | 
| unsigned char* sspt_Image::buffer | 
| unsigned long sspt_Image::height | 
| unsigned char** sspt_Image::rows | 
| unsigned long sspt_Image::width |