The core classes currently offer classes to hold image data of various pixel and data types. More...
Modules | |
Image classes | |
Tool classes | |
Namespaces | |
Rx | |
Macros | |
#define | RX_IMG_10BIT_SPLIT_PACKED |
Special Data Types More... | |
#define | RX_IMG_12BIT_SPLIT_PACKED |
#define | RX_IMG_BAYER_BG |
#define | RX_IMG_BAYER_GB |
#define | RX_IMG_BAYER_GR |
#define | RX_IMG_BAYER_RG |
Pixel color bayer types More... | |
#define | RX_IMG_BGR |
#define | RX_IMG_BGRA |
#define | RX_IMG_BYTE |
Image data types. More... | |
#define | RX_IMG_DOUBLE |
#define | RX_IMG_FLOAT |
#define | RX_IMG_INT |
#define | RX_IMG_LUMINANCE |
#define | RX_IMG_LUMINANCE_ALPHA |
#define | RX_IMG_RGB |
Pixel color types. More... | |
#define | RX_IMG_RGBA |
#define | RX_IMG_SHORT |
#define | RX_IMG_UNSIGNED_BYTE |
#define | RX_IMG_UNSIGNED_INT |
#define | RX_IMG_UNSIGNED_SHORT |
#define | RX_IMG_YUV420P |
Special Pixel Types More... | |
#define | RXCORE_API |
Functions | |
RXCORE_API double | Rx::GetTime () |
Gets the current time in milliseconds as double. More... | |
RXCORE_API int64_t | Rx::GetTime64 () |
Gets the current time in milliseconds as a 64 bit integer. More... | |
RXCORE_API void | Rx::InitTime () |
Initialize time. More... | |
RXCORE_API void | Rx::Sleep (unsigned uTime) |
Blocks the execution of the current thread for at least the specified time given in milliseconds. More... | |
The core classes currently offer classes to hold image data of various pixel and data types.
The template class TPixel allows for the representation of various pixel types, by not only using the data type as template parameter, but also the position of the various color and alpha elements within each pixel. Access to the pixel components is then possible with member inline functions r(), g(), b(), a(), which map to the correct position with a pixel.
The functions Float2Pixel() and Pixel2Float() are template functions that cast the pixel data type to float and vice versa.
#define RX_IMG_10BIT_SPLIT_PACKED |
Special Data Types
In this formats the high and low bits of each pixel are split. In the Following packing description Hx refers to high Bits of a Pixel Value and Lx refers to the low bits of a pixel value with index x. The | represents an 8-bit octet (1 byte)
#define RX_IMG_12BIT_SPLIT_PACKED |
#define RX_IMG_BAYER_BG |
#define RX_IMG_BAYER_GB |
#define RX_IMG_BAYER_GR |
#define RX_IMG_BAYER_RG |
Pixel color bayer types
#define RX_IMG_BGR |
#define RX_IMG_BGRA |
#define RX_IMG_BYTE |
Image data types.
#define RX_IMG_DOUBLE |
#define RX_IMG_FLOAT |
#define RX_IMG_INT |
#define RX_IMG_LUMINANCE |
#define RX_IMG_LUMINANCE_ALPHA |
#define RX_IMG_RGB |
Pixel color types.
#define RX_IMG_RGBA |
#define RX_IMG_SHORT |
#define RX_IMG_UNSIGNED_BYTE |
#define RX_IMG_UNSIGNED_INT |
#define RX_IMG_UNSIGNED_SHORT |
#define RX_IMG_YUV420P |
Special Pixel Types
#define RXCORE_API |
RXCORE_API double Rx::GetTime | ( | ) |
Gets the current time in milliseconds as double.
RXCORE_API int64_t Rx::GetTime64 | ( | ) |
Gets the current time in milliseconds as a 64 bit integer.
RXCORE_API void Rx::InitTime | ( | ) |
Initialize time.
RXCORE_API void Rx::Sleep | ( | unsigned | uTime | ) |
Blocks the execution of the current thread for at least the specified time given in milliseconds.
A steady clock is used to measure the duration. This function may block for longer than the given time due to scheduling or resource contention delays.
uTime | The time to sleep in milliseconds. |