#include <vetFrameRGB96.h>
Inheritance diagram for vetFrameRGB96:

Public Types | |
| enum | ChannelRGB { , BLUE } |
Public Member Functions | |
| vetFrameRGB96 () | |
| Default constructor, initialize height and width to 0. | |
| vetFrameRGB96 (unsigned int width, unsigned int height) | |
| Create an image with the given dimensions, allocates empty data. | |
| vetFrameRGB96 (vetFrameRGB96 &img) | |
| Copy Constructor, create an image from another image, copying memory. | |
| vetFrameRGB96 (vetFrameRGB24 &img) | |
| Copy Constructor, create an image from another image, copying memory. | |
| vetFrameRGB96 (vetFrameRGBA32 &img) | |
| Copy Constructor, create an image from another image, copying memory. | |
| vetFrameRGB96 (vetFrameGrey &img) | |
| Copy Constructor, create an image from another image, copying memory. | |
| ~vetFrameRGB96 () | |
| Destructor currenly clear pixel data (array). | |
| VETRESULT | setWidth (unsigned int newWidth) |
| VETRESULT | setHeight (unsigned int newHeight) |
| void * | dump_buffer () |
| Read current buffer address. | |
| VETRESULT | reAllocCanvas (unsigned int w, unsigned int h) |
| unsigned int | getBufferSize () |
| Read current buffer size (for example the real size of array). | |
| 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). | |
| VETRESULT | extractBrightness (unsigned char *buffer, unsigned int *size=NULL) |
| VETRESULT | setPixel (unsigned int x, unsigned int y, PixelRGB96 p) |
| Set pixel (x, y) to the specified value, conversion to PixelGrey is implemented. | |
| VETRESULT | setRGB (unsigned int x, unsigned int y, int red, int green, int blue) |
| Set pixel (x, y) to the specified values: Red, Green, Blue. | |
| VETRESULT | setChannel (unsigned int x, unsigned int y, ChannelRGB ch, int value) |
| Set pixel (x, y) to the specified values: Red, Green, Blue. | |
| VETRESULT | getPixel (unsigned int x, unsigned int y, PixelRGB96 &p) const |
| Get pixel (x, y) value and store it to p. | |
| const PixelRGB96 & | getPixel (unsigned int x, unsigned int y) const |
| int | getChannel (unsigned int x, unsigned int y, ChannelRGB ch) const |
| Get pixel's channel value (x, y). | |
| vetFrameRGB96 & | clear (int=0) |
| Clear all pixel to the specified value. | |
| vetFrameRGB96 & | clearWith (PixelRGB96 &bg) |
| Clear all pixel to the specified value. | |
| vetFrameRGB96 & | clearChannel (ChannelRGB ch, int bg=0) |
| Clear all pixel to the specified value in specified channel. | |
| vetFrameRGB96 & | copy (vetFrameRGB96 &img) |
| Copies all pixel data from img Throws an exception if images are of different size. | |
| vetFrameRGB96 & | operator= (vetFrameRGB96 &img) |
| Copies all pixel data from img using copy method. Throws an exception if images are of different size. | |
| vetFrameRGB96 & | operator+= (vetFrameRGB96 &img) |
| Overload equals-add (+=) operator for two images (pixel += loop) Throws an exception if images are of different size. | |
| vetFrameRGB96 & | operator-= (vetFrameRGB96 &img) |
| Overload equals-sub (-=) operator for two images (pixel -= loop) Throws an exception if images are of different size. | |
| vetFrameRGB96 & | operator>> (vetFrameYUV420 &img) |
| Ouput operator, export to standard VETLib frame formats, export image data, it's like a copy constructor by parameter side. | |
| vetFrameRGB96 & | operator>> (vetFrameRGB24 &img) |
| Ouput operator, export to standard VETLib frame formats, export image data, it's like a copy constructor by parameter side. | |
| vetFrameRGB96 & | operator>> (vetFrameRGBA32 &img) |
| Ouput operator, export to standard VETLib frame formats, export image data, it's like a copy constructor by parameter side. | |
| vetFrameRGB96 & | operator>> (vetFrameGrey &img) |
| Ouput operator, export to standard VETLib frame formats, export image data, it's like a copy constructor by parameter side. | |
| void | operator<< (const vetFrameYUV420 &img) |
| Input operator, import standard VETLib frame formats, load image data, it's like a copy constructor. | |
| void | operator<< (const vetFrameRGB24 &img) |
| Input operator, import standard VETLib frame formats, load image data, it's like a copy constructor. | |
| void | operator<< (const vetFrameRGBA32 &img) |
| Input operator, import standard VETLib frame formats, load image data, it's like a copy constructor. | |
| void | operator<< (const vetFrameGrey &img) |
| Input operator, import standard VETLib frame formats, load image data, it's like a copy constructor. | |
| 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 | |
| bool | autoFreeData |
| PixelRGB96 * | data |
The image is stored as an array of ints, each pixel spanning three ints (one for each of its red, green and blue values).
Definition at line 46 of file vetFrameRGB96.h.
|
|
Definition at line 73 of file vetFrameRGB96.h. |
|
||||||||||||
|
Create an image with the given dimensions, allocates empty data.
Definition at line 28 of file vetFrameRGB96.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copy Constructor, create an image from another image, copying memory.
Definition at line 47 of file vetFrameRGB96.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copy Constructor, create an image from another image, copying memory.
Definition at line 65 of file vetFrameRGB96.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copy Constructor, create an image from another image, copying memory.
Definition at line 82 of file vetFrameRGB96.cpp. References data, DEBUG, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Copy Constructor, create an image from another image, copying memory.
|
|
|
Destructor currenly clear pixel data (array). Destructor for vetFrameRGB96 class. Frees memory allocated to array: Definition at line 103 of file vetFrameRGB96.cpp. References autoFreeData, data, and INFO. |
|
|
Clear all pixel to the specified value.
Definition at line 287 of file vetFrameRGB96.cpp. References data, DEBUGMSG, vetFrame::height, and vetFrame::width. |
|
||||||||||||
|
Clear all pixel to the specified value in specified channel.
Definition at line 328 of file vetFrameRGB96.cpp. References data, DEBUG, vetFrame::height, INFO, and vetFrame::width. |
|
|
Clear all pixel to the specified value.
Definition at line 306 of file vetFrameRGB96.cpp. References BLUE, data, DEBUGMSG, vetFrame::height, and vetFrame::width. |
|
|
Copies all pixel data from img Throws an exception if images are of different size.
Definition at line 370 of file vetFrameRGB96.cpp. References data, vetFrame::height, INFO, and vetFrame::width. Referenced by operator=(). |
|
|
Read current buffer address.
Implements vetFrame. Definition at line 125 of file vetFrameRGB96.h. References data. |
|
|
Get current format's BPP (Bits per Pixel).
Implements vetFrame. Definition at line 133 of file vetFrameRGB96.h. |
|
|
Read current buffer size (for example the real size of array).
Implements vetFrame. Definition at line 130 of file vetFrameRGB96.h. References vetFrame::height, and vetFrame::width. |
|
||||||||||||||||
|
Get pixel's channel value (x, y).
Definition at line 266 of file vetFrameRGB96.cpp. References VETRET_OK. |
|
|
Implements vetFrame. Definition at line 345 of file vetFrameRGB96.h. |
|
|
Get FOURCC code of current data format, visit http://www.fourcc.org for all codes.
Implements vetFrame. Definition at line 347 of file vetFrameRGB96.h. |
|
||||||||||||||||
|
Get pixel (x, y) value and store it to p.
Definition at line 231 of file vetFrameRGB96.cpp. References VETRET_OK. |
|
|
Implements vetFrame. Definition at line 344 of file vetFrameRGB96.h. |
|
|
Overload equals-add (+=) operator for two images (pixel += loop) Throws an exception if images are of different size.
Definition at line 395 of file vetFrameRGB96.cpp. References data, vetFrame::height, INFO, and vetFrame::width. |
|
|
Overload equals-sub (-=) operator for two images (pixel -= loop) Throws an exception if images are of different size.
Definition at line 409 of file vetFrameRGB96.cpp. References data, vetFrame::height, INFO, and vetFrame::width. |
|
|
Input operator, import standard VETLib frame formats, load image data, it's like a copy constructor.
Definition at line 595 of file vetFrameRGB96.cpp. References BLUE_COEF, data, vetFrameGrey::data, GREEN_COEF, vetFrame::height, INFO, reAllocCanvas(), RED_COEF, and vetFrame::width. |
|
|
Input operator, import standard VETLib frame formats, load image data, it's like a copy constructor.
Definition at line 565 of file vetFrameRGB96.cpp. References data, vetFrameRGBA32::data, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Input operator, import standard VETLib frame formats, load image data, it's like a copy constructor.
Definition at line 540 of file vetFrameRGB96.cpp. References BLUE, vetFrameRGB24::data, data, vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. |
|
|
Input operator, import standard VETLib frame formats, load image data, it's like a copy constructor.
Definition at line 519 of file vetFrameRGB96.cpp. References vetFrame::height, INFO, reAllocCanvas(), and vetFrame::width. Referenced by vetCodec_BMP::importFrom(), and vetCodec_BMP::vetCodec_BMP(). |
|
|
Copies all pixel data from img using copy method. Throws an exception if images are of different size.
Definition at line 246 of file vetFrameRGB96.h. References copy(). |
|
|
Ouput operator, export to standard VETLib frame formats, export image data, it's like a copy constructor by parameter side.
Definition at line 497 of file vetFrameRGB96.cpp. References vetFrame::height, INFO, vetFrameGrey::reAllocCanvas(), and vetFrame::width. |
|
|
Ouput operator, export to standard VETLib frame formats, export image data, it's like a copy constructor by parameter side.
Definition at line 476 of file vetFrameRGB96.cpp. References vetFrame::height, INFO, vetFrameRGBA32::reAllocCanvas(), and vetFrame::width. |
|
|
Ouput operator, export to standard VETLib frame formats, export image data, it's like a copy constructor by parameter side.
Reimplemented in vetCodec_BMP, and vetCodec_BMP. Definition at line 449 of file vetFrameRGB96.cpp. References BLUE, data, vetFrameRGB24::data, vetFrame::height, INFO, vetFrameRGB24::reAllocCanvas(), and vetFrame::width. |
|
|
Ouput operator, export to standard VETLib frame formats, export image data, it's like a copy constructor by parameter side.
Reimplemented in vetCodec_BMP, and vetCodec_BMP. Definition at line 422 of file vetFrameRGB96.cpp. References vetFrame::height, INFO, vetFrameYUV420::reAllocCanvas(), and vetFrame::width. Referenced by vetCodec_BMP::extractTo(). |
|
||||||||||||||||||||
|
Set pixel (x, y) to the specified values: Red, Green, Blue.
Definition at line 209 of file vetFrameRGB96.cpp. References data, vetFrame::height, VETRET_OK, and vetFrame::width. |
|
||||||||||||||||
|
Set pixel (x, y) to the specified value, conversion to PixelGrey is implemented.
Definition at line 166 of file vetFrameRGB96.cpp. References data, vetFrame::height, VETRET_OK, and vetFrame::width. |
|
||||||||||||||||||||||||
|
Set pixel (x, y) to the specified values: Red, Green, Blue.
Definition at line 184 of file vetFrameRGB96.cpp. References BLUE, data, vetFrame::height, VETRET_OK, and vetFrame::width. |
1.4.4