|
| UImage160 () |
|
virtual | ~UImage160 () |
|
void | clear (UPixel rgb) |
|
void | clear (void) |
|
void | clear (int v) |
|
bool | colorSaturate (double gain) |
|
bool | colourSaturate (double gain) |
|
bool | copy (UImage *source) |
|
bool | copyAndScale (UImage *source, double factor) |
|
bool | copyJustImage (UImage *source) |
|
bool | copyMeta (UImage *source, bool andSize) |
|
bool | copyScaleDown (UImage *source, int factor) |
|
bool | copyToMaxRes (UImage *source) |
|
CvArr * | cvArr () |
|
void | edgeSobel (UImage *destination, bool absoluteValue=true, int reducFactor=1) |
|
bool | fromMat (char *colorFormatString=NULL) |
|
bool | fromMat (cv::Mat src, char *colorFormatString=NULL) |
|
unsigned int | getBufferSize () |
| Get number of bytes in image buffer. This is the total size of the allocated image buffer. This may be larger than the the number of bytes actually used by the image, and allows thus change in image size or format without allocating new buffer space. More...
|
|
int | getChannels () |
|
char * | getCharRef (unsigned int line, unsigned int column) |
|
int | getColorType () |
|
const char * | getColorTypeString () |
|
UImage ** | getConvertBuffer () |
|
UPixel * | getData () |
|
unsigned int | getDataSize () |
|
int | getDepth () |
|
unsigned int | getHeight () |
|
UTime | getImageTime () |
|
int * | getIntRef (unsigned int line, unsigned int column) |
|
IplImage * | getIplImage () |
|
UPixel * | getLine (unsigned int line) |
|
bool | GetNewNonCameraImage () |
|
UPixel | getPix (unsigned int line, unsigned int column) |
|
UPixel | getPix (unsigned int line, unsigned int column, int inColFormat) |
|
int | getPixInt (unsigned int line, unsigned int column) |
|
UPixel * | getPixRef (unsigned int line, unsigned int column) |
|
bool | getQuadPix (unsigned int line, unsigned int column, unsigned char *I11, unsigned char *I12, unsigned char *I21, unsigned char *I22, unsigned char *U, unsigned char *V) |
|
unsigned char * | getUCharRef (unsigned int line, unsigned int column) |
|
unsigned char * | getUline (unsigned int line) |
|
UTime | getUpdatedTime () |
|
unsigned char * | getVline (unsigned int line) |
|
unsigned int | getWidth () |
|
unsigned char * | getYline (unsigned int line) |
|
void | gridLine (float Pos, char axis, float minH, float maxH, float minW, float maxW, char sw= 'y', int Color=1) |
|
void | gridLines (float major, float minor, char axis, float minH, float maxH, float minW, float maxW, char sw) |
|
unsigned int | height () |
|
void | hLine (unsigned int line, unsigned int c1, unsigned int c2, int p1, int p2, int p3) |
|
unsigned int | imgBytes () |
|
virtual void | imgUpdated () |
|
bool | initImage (const unsigned int iHeight, const unsigned int iWidth, char *data, const unsigned int bufferSize, const int channels=3, const int depth=8) |
|
bool | inRange (int line, int column) |
|
bool | invertY () |
|
bool | isBayer () |
|
bool | isBGR () |
|
bool | isBW () |
|
bool | isBW16s () |
|
bool | isBW16u () |
|
bool | isRGB () |
|
bool | isRGBA () |
|
bool | isTooBig (const unsigned int w, const unsigned int h) |
|
bool | isValid () |
|
bool | isYUV () |
|
bool | isYUV420 () |
|
bool | isYUV422 () |
|
void | lineInGrid (UPosition pos1, UPosition pos2, float minH, float maxH, float minW, float maxW, char sw, UPixel *rgb, UMatrix4 *mA=NULL, int lineWidth=1) |
|
bool | loadBMP (const char filename[]) |
|
bool | loadBMP (const char path[], const char basename[], const int num, const char nameAdd[]) |
|
bool | loadPNG (const char *filename) |
|
unsigned int | maxBytes () |
|
unsigned int | maxPixels () |
|
bool | median (UImage *dimg, unsigned int row1, unsigned int col1, unsigned int row2, unsigned int col2, unsigned int fW, unsigned int fH) |
|
void | moveBW16ToRGB (UImage *dest) |
|
int | packZLIB (char *buffer, int bufferSize) |
|
void | paintGridAligned (const int r0, const int c0, const double pixPerM, const int strongTicEvery) |
|
int | pixCmp (UPixel *p1, UPixel *p2) |
|
UPixel | pixRGB (unsigned char r, unsigned char g, unsigned char b) |
|
UPixel * | pixSort (UPixel ***ps, int pixCnt) |
|
UPixel | pixYUV (unsigned char y, unsigned char u, unsigned char v) |
|
bool | resize (const unsigned int iHeight, const unsigned int iWidth, const int channels=3, const int depth=8) |
|
bool | resizeBuffer (const unsigned int iHeight, const unsigned int iWidth, const int channels, const int depth) |
|
bool | saveBMP (const char filename[]) |
|
bool | saveBMP (const char path[], const char basename[], const int num, const char nameAdd[]) |
|
bool | saveMeta (const char *name, const char *type, const char *path) |
|
bool | savePNG (const char *filename) |
|
bool | saveTxt (const char *filename) |
|
int | setColorType (const char *) |
|
bool | setColorType (int colorFormat) |
|
bool | setMaxSize43 () |
|
void | setName (const char *imageName) |
|
void | setNameAndExt (const char *basename, const char *ext=NULL) |
|
void | setPix (unsigned int line, unsigned int column, UPixel pix) |
|
void | setPixChar (unsigned int line, unsigned int column, char pix) |
|
void | setPixel (int x1, int y1, UPixel rgb, UImage *image=NULL, int procent=0) |
|
void | setPixInt (unsigned int line, unsigned int column, int pix) |
|
void | setPixUChar (unsigned int line, unsigned int column, unsigned char pix) |
|
bool | setQuadPix (unsigned int line, unsigned int column, unsigned char I11, unsigned char I12, unsigned char I21, unsigned char I22, unsigned char U, unsigned char V) |
|
void | setROI (int x, int y, int w, int h) |
|
bool | setSize (const unsigned int iHeight, const unsigned int iWidth, const int channels, const int depth, const char *colorType=NULL) |
|
bool | setSizeOnly (const unsigned int iHeight, const unsigned int iWidth) |
|
void | shiftCols (int cols, int byteFill=-1) |
|
void | shiftRows (int rows, int byteFill=-1) |
|
UPixel | sobel (UPixel *p1, UPixel *p2, UPixel *p3) |
|
UPixel | sobel (UPixel *p1, UPixel *p2, UPixel *p3, UPixel *pixRef, int reducFactor) |
|
bool | toBGR (UImage *dest=NULL) |
|
bool | toBW (UImage *dest=NULL) |
|
bool | toCromaBGR (UImage *dest=NULL) |
|
bool | toHalf () |
|
bool | toMat () |
|
void | tone (UPixel *rgb, int procent) |
|
void | tone (UPixel rgb, int procent) |
|
bool | toRaibow (UImage *gray) |
|
bool | toRaibowInv (UImage *gray) |
|
bool | toRGB (UImage *dest=NULL) |
|
bool | toRGBA (UImage *dest=NULL) |
|
bool | toYUV (UImage *dest=NULL) |
|
| UImage () |
|
bool | unpackZLIB (int rows, int cols, const char *colFormat, char *buffer, int bufferCnt) |
|
void | updated () |
|
void | vLine (unsigned int col, unsigned int r1, unsigned int r2, int p1, int p2, int p3) |
|
unsigned int | width () |
|
bool | yuv422toBGR (uint8_t *source, int h, int w) |
|
bool | yuv422toBGRhalf (uint8_t *source, int h, int w) |
|
bool | yuv422toBW (uint8_t *source, int h, int w) |
|
bool | yuv422toRGB (uint8_t *source, int h, int w) |
|
bool | yuv422toRGBhalf (uint8_t *source, int h, int w) |
|
bool | yuv422toYUV (uint8_t *source, int h, int w) |
|
bool | yuv422toYUVhalf (uint8_t *source, int h, int w) |
|
virtual | ~UImage () |
|
bool | lock () |
|
void | lockInit () |
|
void | post () |
|
bool | tryLock () |
|
bool | tryWait () |
|
| ULock () |
|
void | unlock () |
|
bool | wait () |
|
| ~ULock () |
|
Image based on UImage, but with maximum size of 160x120
- or other sizes with no more than 160 x 120 pixels - in 24 bit color