NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
be_finger_ansi2004view.h
Go to the documentation of this file.
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_FINGER_ANSI2004VIEW_H__
12#define __BE_FINGER_ANSI2004VIEW_H__
13
15
16namespace BiometricEvaluation
17{
18 namespace Finger
19 {
30 public:
36
59 const std::string &fmrFilename,
60 const std::string &firFilename,
61 const uint32_t viewNumber);
62
86 const Memory::uint8Array &fmrBuffer,
87 const Memory::uint8Array &firBuffer,
88 const uint32_t viewNumber);
89
90 virtual ~ANSI2004View() = default;
91
92 protected:
93 static const uint32_t BASE_SPEC_VERSION = 0x20323000;
94 /* ' ' '2' '0' 'nul' */
95
98
99 /*
100 * Required implementation of reading core/delta data.
101 */
104 uint32_t dataLength,
106 Feature::DeltaPointSet &deltas);
107
108 private:
109 void init(
110 const Memory::uint8Array &fmrBuffer,
111 const Memory::uint8Array &firBuffer,
112 const uint32_t viewNumber);
113 };
114 }
115}
116#endif /* __BE_FINGER_ANSI2004VIEW_H__ */
117
A class to represent single finger view and derived information.
void readCoreDeltaData(Memory::IndexedBuffer &buf, uint32_t dataLength, Feature::CorePointSet &cores, Feature::DeltaPointSet &deltas)
Read the core points data.
ANSI2004View()
Construct an empty ANSI finger view.
ANSI2004View(const std::string &fmrFilename, const std::string &firFilename, const uint32_t viewNumber)
Construct an ANSI-2004 finger view from records contained in files.
void readFMRHeader(Memory::IndexedBuffer &buf)
ANSI2004View(const Memory::uint8Array &fmrBuffer, const Memory::uint8Array &firBuffer, const uint32_t viewNumber)
Construct an ANSI-2004 finger view from records contained in buffers.
A class to represent single finger view and derived information.
Wrap a memory buffer with an index.
std::vector< DeltaPoint > DeltaPointSet
std::vector< CorePoint > CorePointSet
This software was developed at the National Institute of Standards and Technology (NIST) by employees...