11#ifndef __BE_IMAGE_RAW_H__
12#define __BE_IMAGE_RAW_H__
30 const Size dimensions,
31 const uint32_t colorDepth,
32 const uint16_t bitDepth,
35 const std::string &identifier =
"",
41 const Size dimensions,
42 const uint32_t colorDepth,
43 const uint16_t bitDepth,
46 const std::string &identifier =
"",
Represent attributes common to all images.
static void defaultStatusCallback(const Framework::Status &status)
Default handling of statuses sent from image processing libraries.
std::function< void(const Framework::Status)> statusCallback_t
bool hasAlphaChannel() const
Accessor for the presence of an alpha channel.
An image with no encoding or compression.
Raw(const BiometricEvaluation::Memory::uint8Array &data, const Size dimensions, const uint32_t colorDepth, const uint16_t bitDepth, const Resolution resolution, const bool hasAlphaChannel, const std::string &identifier="", const statusCallback_t &statusCallback=Image::defaultStatusCallback)
Raw(const uint8_t *data, const uint64_t size, const Size dimensions, const uint32_t colorDepth, const uint16_t bitDepth, const Resolution resolution, const bool hasAlphaChannel, const std::string &identifier="", const statusCallback_t &statusCallback=Image::defaultStatusCallback)
Memory::uint8Array getRawData() const
Accessor for the raw image data.
Memory::uint8Array getRawGrayscaleData(uint8_t depth) const
Accessor for decompressed data in grayscale.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...
A structure to represent the resolution of an image.
A structure to represent the size of an image, in pixels.