Represents an image.
More...
#include <style.hpp>
|
int | width |
| The image width.
|
|
int | height |
| The image height.
|
|
int | channels |
| The image channels.
|
|
unsigned char * | image |
| The image contents.
|
|
Represents an image.
- Note
- If image points to heap allocated memory, it must be freed appropriately
◆ image
unsigned char* found::Image::image |
The image contents.
- Note
- For each pixel, the channels are collated, meaning that for any pixel at index, the value of that pixel in channel n (for 0 <= index < width * height and 0 <= n < channels) is image[channels * index + n]
The documentation for this struct was generated from the following file: