IO::PGM Class Reference

#include <iopgm.h>

List of all members.


Detailed Description

Black and white reader for PGM files

Static Public Member Functions

static void read (const char *filename, unsigned char *&image, unsigned int &width, unsigned int &height)
 read a 2D PGM image
static void write (const char *filename, const unsigned char *image, unsigned int width, unsigned int height)
 write a 2D PGM binary image

Member Function Documentation

static void IO::PGM::read ( const char *  filename,
unsigned char *&  image,
unsigned int &  width,
unsigned int &  height 
) [static]

read a 2D PGM image

static void IO::PGM::write ( const char *  filename,
const unsigned char *  image,
unsigned int  width,
unsigned int  height 
) [static]

write a 2D PGM binary image


The documentation for this class was generated from the following file:

Generated on Tue Aug 4 17:57:43 2009 for libvd by  doxygen 1.5.5