Inheritance diagram for vetFrameGrey:

Public Member Functions | |
| vetFrameGrey () | |
| Default constructor, initialize height and width to 0. | |
| vetFrameGrey (unsigned int width, unsigned int height) | |
| Create an image with the given dimensions, allocates empty data. | |
| vetFrameGrey (vetFrameGrey &img) | |
| Copy Constructor, create an image from another image, copying memory. | |
| vetFrameGrey (vetFrameYUV420 &img) | |
| Copy Constructor, create an image from another image, copying memory. | |
| vetFrameGrey (vetFrameRGB24 &img) | |
| Copy Constructor, create an image from another image, copying memory. | |
| vetFrameGrey (vetFrameRGB96 &img) | |
| Copy Constructor, create an image from another image, copying memory. | |
| vetFrameGrey (vetFrameRGBA32 &img) | |
| Copy Constructor, create an image from another image, copying memory. | |
| ~vetFrameGrey () | |
| Destructor currenly clear pixel data (array). | |
| int | setWidth (unsigned int newWidth) |
| int | setHeight (unsigned int newHeight) |
| void * | dump_buffer () |
| Read current buffer address. | |
| VETRESULT | reAllocCanvas (unsigned int w, unsigned int h) |
| unsigned int | getBpp () |
| Get current format's BPP (Bits per Pixel). | |
| VETRESULT | setBlack () |
| Initialize image (with current canvas) to black (min brightness). | |
| VETRESULT | setWhite () |
| Initialize image (with current canvas) to white (max brightness). | |
| unsigned int | getBufferSize () |
| Read current buffer size (for example the real size of array). | |
| VETRESULT | extractBrightness (unsigned char *buffer, unsigned int *size=NULL) |
| VETRESULT | setPixel (unsigned int x, unsigned int y, PixelRGB24 p) |
| Set pixel (x, y) to the specified value, conversion to PixelGrey is implemented. | |
| VETRESULT | setPixel (unsigned int x, unsigned int y, PixelGrey level) |
| Set pixel (x, y) to the specified value. | |
| VETRESULT | getPixel (unsigned int x, unsigned int y, PixelGrey &p) const |
| Get pixel (x, y) value and store it to p. | |
| const PixelGrey & | getPixel (unsigned int x, unsigned int y) const |
| vetFrameGrey & | clearWith (PixelGrey bg=0) |
| Clear all pixel to the specified value. | |
| vetFrameGrey & | copy (vetFrameGrey &img) |
| Copy data from image data from img. | |
| VETRESULT | invert () |
| Absolute value of brightness. | |
| VETRESULT | threshold (PixelGrey thresh) |
| Threshold brightness. | |
| vetFrameGrey & | operator= (vetFrameGrey &img) |
| Copies all pixel data from img using copy method. Throws an exception if images are of different size. | |
| vetFrameGrey & | operator+= (vetFrameGrey &img) |
| Overload equals (+=) operator for two images. | |
| vetFrameGrey & | operator-= (vetFrameGrey &img) |
| Overload equals (-=) operator for two images. | |
| vetFrameGrey & | operator+= (PixelGrey offset) |
| Overload equals (+=) operator for Image and constant. | |
| vetFrameGrey & | operator-= (PixelGrey offset) |
| Overload equals (-=) operator for Image and constant. | |
| vetFrameGrey & | operator/= (float factor) |
| Overload equals (/=) operator for Image and constant. | |
| vetFrameGrey & | operator *= (float factor) |
| Overload equals (*=) operator for Image and constant. | |
| vetFrameGrey & | operator>> (vetFrameYUV420 &img) |
| vetFrameGrey & | operator>> (vetFrameRGB24 &img) |
| vetFrameGrey & | operator>> (vetFrameRGB96 &img) |
| vetFrameGrey & | operator>> (vetFrameRGBA32 &img) |
| void | operator<< (const vetFrameYUV420 &img) |
| void | operator<< (const vetFrameRGB24 &img) |
| void | operator<< (const vetFrameRGBA32 &img) |
| void | operator<< (const vetFrameRGB96 &img) |
| VETFRAME_PROFILE | getProfile () |
| VETFRAME_CHANNEL_TYPE | getChannelType () |
| | |
| int | getFOURCC () |
| Get FOURCC code of current data format, visit http://www.fourcc.org for all codes. | |
Data Fields | |
| PixelGrey * | data |
Definition at line 52 of file vetFrameGrey.h.
|
||||||||||||
|
Create an image with the given dimensions, allocates empty data.
Definition at line 37 of file vetFrameGrey.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copy Constructor, create an image from another image, copying memory.
Definition at line 51 of file vetFrameGrey.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copy Constructor, create an image from another image, copying memory.
Definition at line 70 of file vetFrameGrey.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copy Constructor, create an image from another image, copying memory.
Definition at line 86 of file vetFrameGrey.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copy Constructor, create an image from another image, copying memory.
Definition at line 102 of file vetFrameGrey.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copy Constructor, create an image from another image, copying memory.
Definition at line 118 of file vetFrameGrey.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Clear all pixel to the specified value.
Definition at line 276 of file vetFrameGrey.cpp. References data, DEBUGMSG, vetFrame::height, and vetFrame::width. |
|
|
Copy data from image data from img. Copies all pixel brightness to img. Throws an exception if images are of different size.
Definition at line 308 of file vetFrameGrey.cpp. References data, vetFrame::height, and vetFrame::width. Referenced by operator=(). |
|
|
Read current buffer address.
Implements vetFrame. Definition at line 116 of file vetFrameGrey.h. References data. |
|
|
Get current format's BPP (Bits per Pixel).
Implements vetFrame. Definition at line 123 of file vetFrameGrey.h. |
|
|
Read current buffer size (for example the real size of array).
Implements vetFrame. Definition at line 127 of file vetFrameGrey.h. References vetFrame::height, and vetFrame::width. |
|
|
Implements vetFrame. Definition at line 234 of file vetFrameGrey.h. |
|
|
Get FOURCC code of current data format, visit http://www.fourcc.org for all codes.
Implements vetFrame. Definition at line 236 of file vetFrameGrey.h. |
|
||||||||||||||||
|
Get pixel (x, y) value and store it to p.
Definition at line 248 of file vetFrameGrey.cpp. References data, vetFrame::height, VETRET_OK, VETRET_PARAM_ERR, and vetFrame::width. Referenced by vetFrameGreyETI::operator<<(). |
|
|
Implements vetFrame. Definition at line 232 of file vetFrameGrey.h. |
|
|
Absolute value of brightness. Calculates absolute values of brightness array Definition at line 440 of file vetFrameGrey.cpp. References data, vetFrame::height, INFO, VETRET_OK, and vetFrame::width. |
|
|
Overload equals (*=) operator for Image and constant. Multiplies each brightness value by fact
Definition at line 370 of file vetFrameGrey.cpp. References data, vetFrame::height, INFO, and vetFrame::width. |
|
|
Overload equals (+=) operator for Image and constant. Adds fact to each brightness value
Definition at line 336 of file vetFrameGrey.cpp. References data, vetFrame::height, INFO, and vetFrame::width. |
|
|
Overload equals (+=) operator for two images. Subtracts img.brightness from brightness array
Definition at line 404 of file vetFrameGrey.cpp. References data, vetFrame::height, INFO, and vetFrame::width. |
|
|
Overload equals (-=) operator for Image and constant. Subtracts fact from each brightness value
Definition at line 353 of file vetFrameGrey.cpp. References data, vetFrame::height, INFO, and vetFrame::width. |
|
|
Overload equals (-=) operator for two images. Subtracts img.brightness from brightness array
Definition at line 422 of file vetFrameGrey.cpp. References data, vetFrame::height, INFO, and vetFrame::width. |
|
|
Overload equals (/=) operator for Image and constant. Divides each brightness value by fact
Definition at line 387 of file vetFrameGrey.cpp. References data, vetFrame::height, INFO, and vetFrame::width. |
|
|
Copies all pixel data from img. Throws an exception if images are of different size.
Definition at line 630 of file vetFrameGrey.cpp. References BLUE_COEF, vetFrameRGB96::data, data, GREEN_COEF, vetFrame::height, INFO, reAllocCanvas(), RED_COEF, and vetFrame::width. |
|
|
Copies all pixel data from img. Throws an exception if images are of different size.
Definition at line 653 of file vetFrameGrey.cpp. References vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copies all pixel data from img. Throws an exception if images are of different size.
Definition at line 604 of file vetFrameGrey.cpp. References BLUE_COEF, vetFrameRGB24::data, data, GREEN_COEF, vetFrame::height, INFO, reAllocCanvas(), RED_COEF, and vetFrame::width. |
|
|
Copies all pixel data from img. Throws an exception if images are of different size.
Definition at line 578 of file vetFrameGrey.cpp. References vetFrameYUV420::data, data, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copies all pixel data from img using copy method. Throws an exception if images are of different size.
Definition at line 201 of file vetFrameGrey.h. References copy(). |
|
|
Copies all pixel data from img. Throws an exception if images are of different size.
Definition at line 557 of file vetFrameGrey.cpp. References vetFrame::height, INFO, vetFrameRGBA32::reAllocCanvas(), and vetFrame::width. |
|
|
Copies all pixel data from img. Throws an exception if images are of different size.
Definition at line 529 of file vetFrameGrey.cpp. References data, vetFrameRGB96::data, vetFrame::height, INFO, vetFrameRGB96::reAllocCanvas(), and vetFrame::width. |
|
|
Copies all pixel data from img. Throws an exception if images are of different size.
Definition at line 502 of file vetFrameGrey.cpp. References data, vetFrameRGB24::data, vetFrame::height, INFO, vetFrameRGB24::reAllocCanvas(), and vetFrame::width. |
|
|
Copies all pixel data from img. Throws an exception if images are of different size.
Definition at line 475 of file vetFrameGrey.cpp. References data, vetFrameYUV420::data, vetFrame::height, INFO, vetFrameYUV420::reAllocCanvas(), vetFrameYUV420::U, and vetFrame::width. |
|
||||||||||||||||
|
Set pixel (x, y) to the specified value.
Definition at line 205 of file vetFrameGrey.cpp. References data, vetFrame::height, VETRET_OK, VETRET_PARAM_ERR, and vetFrame::width. |
|
||||||||||||||||
|
Set pixel (x, y) to the specified value, conversion to PixelGrey is implemented.
Definition at line 226 of file vetFrameGrey.cpp. References BLUE_COEF, data, GREEN_COEF, vetFrame::height, RED_COEF, VETRET_OK, VETRET_PARAM_ERR, and vetFrame::width. Referenced by vetFrameRGBETI::operator>>(), and vetFrameGreyETI::operator>>(). |
|
|
Threshold brightness. Sets values below threshold to zero and those equal or above to 255
Definition at line 456 of file vetFrameGrey.cpp. References data, vetFrame::height, VETRET_OK, and vetFrame::width. |
1.4.4