Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ImageBuffer.h

Go to the documentation of this file.
00001 #ifndef __IMAGEBUFFER_H
00002 #define __IMAGEBUFFER_H
00003 
00004 #include "PGMImg.h"
00005 
00006 /**
00007  ImageBuffer contains information about a gray-scale image.
00008  width:     width of the image
00009  height:    height of the image
00010  byteArray: row-major values of the pixels in the image, should be of size width*height
00011  **/
00012 class ImageBuffer{
00013 public:
00014   int width;
00015   int height;
00016   unsigned char* byteArray;
00017 };
00018 
00019 void convertPGMImgToImageBuffer(PGMImg& pgmImg, ImageBuffer& buffer);
00020 
00021 #endif

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:42 2016 by Doxygen 1.6.3