#include <CameraServer.h>
Public Types | |
| enum | DataType { RAW_PIXELS, RAW_CHANNELS, COMPRESSED_JPG } |
| Possible data formats. More... | |
Public Methods | |
| Format (int xpels=1, int ypels=1, DataType type=RAW_PIXELS, int bitsPerPixel=24, string clrSpace="RGB") | |
| Create a new image format. | |
| Format (const Format &other) | |
| Copy an image format. | |
| Format & | operator= (const Format &other) |
| Copy an image format. | |
| bool | operator== (const Format &other) |
| Compare image formats. | |
| bool | operator!= (const Format &other) |
| Compare image formats. | |
Public Attributes | |
| int | x |
| The horizontal resolution of an image. | |
| int | y |
| The vertical resolution of an image. | |
| DataType | dataType |
| Indicates how the image data is formatted. | |
| int | bpp |
| The number of bits per pixel. | |
| string | colorSpace |
| The name of the color space. | |
|
|
Possible data formats.
|
|
||||||||||||||||||||||||
|
Create a new image format.
|
|
|
The name of the color space. "gray" and "RGB" are the most typical ones. |