Nail to Nail Fingerprint Capture Challenge
API for participant-specific one-to-many template generation and template matching.
be_image_raw.h
1/*
2 * This software was developed at the National Institute of Standards and
3 * Technology (NIST) by employees of the Federal Government in the course
4 * of their official duties. Pursuant to title 17 Section 105 of the
5 * United States Code, this software is not subject to copyright protection
6 * and is in the public domain. NIST assumes no responsibility whatsoever for
7 * its use by other parties, and makes no guarantees, expressed or implied,
8 * about its quality, reliability, or any other characteristic.
9 */
10
11#ifndef __BE_IMAGE_RAW_H__
12#define __BE_IMAGE_RAW_H__
13
14#include <be_image_image.h>
15#include <be_memory_autoarray.h>
16
17namespace BiometricEvaluation
18{
19 namespace Image
20 {
25 class Raw : public Image {
26 public:
27 Raw(
28 const uint8_t *data,
29 const uint64_t size,
30 const Size dimensions,
31 const uint32_t colorDepth,
32 const uint16_t bitDepth,
33 const Resolution resolution,
34 const bool hasAlphaChannel,
35 const std::string &identifier = "",
36 const statusCallback_t &statusCallback =
38
39 Raw(
41 const Size dimensions,
42 const uint32_t colorDepth,
43 const uint16_t bitDepth,
44 const Resolution resolution,
45 const bool hasAlphaChannel,
46 const std::string &identifier = "",
47 const statusCallback_t &statusCallback =
49
50 ~Raw() = default;
51
52 /*
53 * Implementations of the Image interface.
54 */
55
58 const;
59
62 uint8_t depth) const;
63
64 protected:
65
66 private:
67
68 };
69 }
70}
71
72#endif /* __BE_IMAGE_RAW_H__ */
Represent attributes common to all images.
Definition: be_image_image.h:50
static void defaultStatusCallback(const Framework::Status &status)
Default handling of statuses sent from image processing libraries.
bool hasAlphaChannel() const
Accessor for the presence of an alpha channel.
Definition: be_image_image.h:296
An image with no encoding or compression.
Definition: be_image_raw.h:25
Memory::uint8Array getRawData() const
Accessor for the raw image data.
Memory::uint8Array getRawGrayscaleData(uint8_t depth) const
Accessor for decompressed data in grayscale.
A C-style array wrapped in the facade of a C++ STL container.
Definition: be_memory_autoarray.h:45