Main Page | Data Structures | File List | Data Fields | Globals

MrPNMImage Struct Reference

#include <mr_pnm_io.h>


Data Fields

short int pnm_type
short int nc
short int depth
unsigned int byte_width
unsigned short int maxval
unsigned int width
unsigned int height
unsigned char * data


Detailed Description

Simple structure that contains an PNM type image.


Field Documentation

unsigned int MrPNMImage::byte_width
 

total number of byte per line

unsigned char* MrPNMImage::data
 

pixel values

short int MrPNMImage::depth
 

1 or 2 bytes value per pixel channel

unsigned int MrPNMImage::height
 

image height

unsigned short int MrPNMImage::maxval
 

maximum color value

short int MrPNMImage::nc
 

numbers of channel : 1 for mono, 3 for color

short int MrPNMImage::pnm_type
 

see magics numbers

unsigned int MrPNMImage::width
 

image width


The documentation for this struct was generated from the following file:
Generated on Sun Apr 9 17:29:42 2006 for MusicReco by  doxygen 1.4.4