|
| BMP (const uint8_t *data, const uint64_t size, const std::string &identifier="", const statusCallback_t &statusCallback=Image::defaultStatusCallback) |
|
| BMP (const Memory::uint8Array &data, const std::string &identifier="", const statusCallback_t &statusCallback=Image::defaultStatusCallback) |
|
| ~BMP ()=default |
|
Memory::AutoArray< uint8_t > | getRawData () const |
| Accessor for the raw image data. More...
|
|
Memory::AutoArray< uint8_t > | getRawGrayscaleData (uint8_t depth) const |
| Accessor for decompressed data in grayscale. More...
|
|
| Image (const uint8_t *data, const uint64_t size, const Size dimensions, const uint32_t colorDepth, const uint16_t bitDepth, const Resolution resolution, const CompressionAlgorithm compression, const bool hasAlphaChannel, const std::string &identifier="", const statusCallback_t &statusCallback=Image::defaultStatusCallback) |
| Parent constructor for all Image classes. More...
|
|
| Image (const uint8_t *data, const uint64_t size, const CompressionAlgorithm compression, const std::string &identifier="", const statusCallback_t &statusCallback=Image::defaultStatusCallback) |
| Parent constructor for all Image classes. More...
|
|
CompressionAlgorithm | getCompressionAlgorithm () const |
| Accessor for the CompressionAlgorithm of the image. More...
|
|
Resolution | getResolution () const |
| Accessor for the resolution of the image. More...
|
|
Memory::uint8Array | getData () const |
| Accessor for the image data. More...
|
|
virtual Memory::uint8Array | getRawData () const =0 |
| Accessor for the raw image data. More...
|
|
virtual Memory::uint8Array | getRawData (const bool removeAlphaChannelIfPresent) const |
| Accessor for the raw image data. More...
|
|
virtual Memory::uint8Array | getRawGrayscaleData (uint8_t depth) const =0 |
| Accessor for decompressed data in grayscale. More...
|
|
Size | getDimensions () const |
| Accessor for the dimensions of the image in pixels. More...
|
|
uint32_t | getColorDepth () const |
| Accessor for the color depth of the image in bits. More...
|
|
uint16_t | getBitDepth () const |
| Accessor for the number of bits per color component. More...
|
|
bool | hasAlphaChannel () const |
| Accessor for the presence of an alpha channel. More...
|
|
statusCallback_t | getStatusCallback () const |
| Get handle to status callback function. More...
|
|
std::string | getIdentifier () const |
| Obtain the assigned image identifier. More...
|
|
virtual | ~Image () |
|
|
static bool | isBMP (const uint8_t *data, uint64_t size) |
| Whether or not data is a BMP image. More...
|
|
static uint64_t | valueInColorspace (uint64_t color, uint64_t maxColorValue, uint8_t depth) |
| Calculate an equivalent color value for a color in an alternate colorspace. More...
|
|
static std::shared_ptr< Image > | openImage (const uint8_t *data, const uint64_t size, const std::string &identifier="", const statusCallback_t &statusCallback=Image::defaultStatusCallback) |
| Determine the image type of a buffer of image data and create an Image object. More...
|
|
static std::shared_ptr< Image > | openImage (const Memory::uint8Array &data, const std::string &identifier="", const statusCallback_t &statusCallback=Image::defaultStatusCallback) |
| Determine the image type of a buffer of image data and create an Image object. More...
|
|
static std::shared_ptr< Image > | openImage (const std::string &path, const statusCallback_t &statusCallback=Image::defaultStatusCallback) |
| Determine the image type of an image file and create an Image object. More...
|
|
static CompressionAlgorithm | getCompressionAlgorithm (const uint8_t *data, const uint64_t size) |
| Determine the compression algorithm of a buffer of image data. More...
|
|
static CompressionAlgorithm | getCompressionAlgorithm (const Memory::uint8Array &data) |
| Determine the compression algorithm of a buffer of image data. More...
|
|
static CompressionAlgorithm | getCompressionAlgorithm (const std::string &path) |
| Determine the compression algorithm of a file. More...
|
|
static BiometricEvaluation::Image::Raw | getRawImage (const std::shared_ptr< BiometricEvaluation::Image::Image > &image) |
| Obtain Image::Raw version of an Image::Image. More...
|
|
static void | defaultStatusCallback (const Framework::Status &status) |
| Default handling of statuses sent from image processing libraries. More...
|
|
A BMP-encoded image.
- Note
- Only supports uncompressed BMPs with the 40-byte BITMAPINFOHEADER header information with no compression or RLE8 compression.
Definition at line 29 of file be_image_bmp.h.