C:/dev/CMUCameraGrab/CMUCameraGrab/cvpixel.h File Reference

#include <cv.h>

Include dependency graph for cvpixel.h:

This graph shows which files directly or indirectly include this file:

Defines

#define PIX8S(img, x, y)   ((char*)(img->imageData+img->widthStep*y))[x]
#define PIX8U(img, x, y)   ((uchar*)(img->imageData+img->widthStep*y))[x]
#define RPIX8U(img, x, y)   ((uchar*)(img->imageData + img->widthStep*y))[x*3+2]
#define GPIX8U(img, x, y)   ((uchar*)(img->imageData + img->widthStep*y))[x*3+1]
#define BPIX8U(img, x, y)   ((uchar*)(img->imageData + img->widthStep*y))[x*3]

Define Documentation

#define BPIX8U ( img,
x,
 )     ((uchar*)(img->imageData + img->widthStep*y))[x*3]

#define GPIX8U ( img,
x,
 )     ((uchar*)(img->imageData + img->widthStep*y))[x*3+1]

#define PIX8S ( img,
x,
 )     ((char*)(img->imageData+img->widthStep*y))[x]

Macros for accessing pixels in the IPLImage format

Copyright (c) 2008 by <Philip Birch/ University of Sussex>

#define PIX8U ( img,
x,
 )     ((uchar*)(img->imageData+img->widthStep*y))[x]

#define RPIX8U ( img,
x,
 )     ((uchar*)(img->imageData + img->widthStep*y))[x*3+2]


Generated on Tue Sep 2 15:16:17 2008 for Quick and dirty firewire to Iplimage library by  doxygen 1.5.6