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_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 | RXCORE_API |
Functions | |
RXCORE_API double | Rx::GetTime () |
Get time in milliseconds as double. More... | |
RXCORE_API __int64 | Rx::GetTime64 () |
Get time in milliseconds as Int64. More... | |
RXCORE_API void | Rx::InitTime () |
Initialize time. More... | |
RXCORE_API void | Rx::Sleep (unsigned uTime) |
Suspend thread for given number of 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_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 RXCORE_API |
RXCORE_API double Rx::GetTime | ( | ) |
Get time in milliseconds as double.
RXCORE_API __int64 Rx::GetTime64 | ( | ) |
Get time in milliseconds as Int64.
RXCORE_API void Rx::InitTime | ( | ) |
Initialize time.
RXCORE_API void Rx::Sleep | ( | unsigned | uTime | ) |
Suspend thread for given number of milliseconds.
uTime | The time to sleep in milliseconds. |