Public Member Functions |
| ALImage (int pWidth, int pHeight, int pColorSpace, bool pDataAreExternal=false, float pLeftAngle=0.f, float pTopAngle=0.f, float pRightAngle=0.f, float pBottomAngle=0.f) |
| constructor
|
| ALImage (int pResolution, int pColorSpace, bool pDataAreExternal=false, float pLeftAngle=0.f, float pTopAngle=0.f, float pRightAngle=0.f, float pBottomAngle=0.f) |
| constructor
|
ALValue | toALValue () |
| return an ALValue containing image structure
|
void | setWidth (const int width) |
void | setHeight (const int height) |
void | setLeftAngle (const float leftAngle) |
void | setTopAngle (const float topAngle) |
void | setRightAngle (const float rightAngle) |
void | setBottomAngle (const float bottomAngle) |
void | setAngles (const float leftAngle, const float topAngle, const float rightAngle, const float bottomAngle) |
bool | setSize (int pResolution) |
| set the Resolution of the image without changing the allocation size.
|
bool | setResolution (int pResolution) |
| set the Resolution of the image without changing the allocation size.
|
bool | setColorSpace (int pColorSpace) |
| set the ColorSpace of the image without changing the allocation size.
|
const unsigned char * | getFrame () const |
| return the reference to the image data
|
const unsigned char * | getData () const |
| return the reference to the image data
|
unsigned char * | getFrame () |
| return the pointer to the image data
|
unsigned char * | getData () |
| return the pointer to the image data
|
void | setData (unsigned char *pData) |
| set the image data pointer to point to the specified buffer
|
void | setTimeStamp (const qi::os::timeval pTimeStamp) |
| set the image timestamp
|
void | setTimeStamp (long long pTimeStamp) |
| set the image timestamp
|
void | setTimeStamp (int pSeconds, int pMicroSeconds) |
| set the image timestamp
|
void | setCameraId (char pCameraId) |
| set the ID of the camera that shot the picture
|
unsigned int | getSize () const |
int | getWidth (void) const |
int | getHeight (void) const |
int | getResolution (void) const |
int | getColorSpace (void) const |
int | getNbLayers (void) const |
long long | getTimeStamp (void) const |
char | getCameraId () const |
int | getMaxResolution (void) const |
int | getNbOfLayersMax (void) const |
bool | areDataExternal (void) const |
int | getAllocatedSize () const |
float | getLeftAngle (void) const |
float | getTopAngle (void) const |
float | getRightAngle (void) const |
float | getBottomAngle (void) const |
void | getAngles (float &leftAngle, float &topAngle, float &rightAngle, float &bottomAngle) |
std::string | toString (void) const |
int | getNumOfROIs () const |
const ROI * | getROI (int index) const |
void | addROI (const ROI &rect) |
void | cleanROIs () |
void | setEnableROIs (bool enable) |
bool | isROIEnabled () const |
int | writeFile (const char *_fileNameAndPath) |
int | readFile (const char *_fileNameAndPath) |
int | savePPM (const char *_fileNameAndPath) |
bool | computeYUV422imageFromBGR (IplImage *_src) |
bool | computeYUV422imageFromBGR (int height, int width, char *data) |
bool | computeBGRimageFromYUV422 (const unsigned char *_dest) |
bool | computeYYYUUUVVVimageFromYUV422 (const unsigned char *_dest) |
bool | computeYYYYUUVVimageFromYUV422 (const unsigned char *_dest) |
Definition at line 28 of file alimage.h.