NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
be_data_interchange_ansi2004.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_DATA_INTERCHANGE_ANSI2004_H_
12#define BE_DATA_INTERCHANGE_ANSI2004_H_
13
14#include <vector>
15
18
19namespace BiometricEvaluation
20{
21 namespace DataInterchange
22 {
25 {
26 public:
44
60 const std::string &fmrPath,
61 const std::string &firPath);
62
72 const
73 std::initializer_list<
75
91 const uint64_t viewNumber)
92 const;
93
105 uint64_t
107 const Finger::ANSI2004View &view);
108
125 uint64_t
127 const Finger::ANSI2004View &view,
128 const uint64_t viewNumber);
129
145 uint64_t
147 const Finger::ANSI2004View &view,
148 const uint64_t viewNumber);
149
163 void
165 const uint64_t viewNumber);
166
180 void
182 const uint64_t viewNumber);
183
192 std::vector<
195 const;
196
209 uint32_t viewNumber)
210 const;
211
223 void
225 const std::vector<
227 &minutia);
228
241 void
243 uint32_t viewNumber,
245 &minutia);
246
259 const;
260
270 uint64_t
272 const;
273 protected:
274
291 uint64_t
293 const;
294
310 uint64_t
312 const;
313
314 private:
316 std::vector<BiometricEvaluation::Finger::ANSI2004View>
317 _views;
318
323 void init(
324 const Memory::uint8Array &fmr,
325 const Memory::uint8Array &fir);
326 };
327 }
328}
329
330#endif /* BE_DATA_INTERCHANGE_ANSI2004_H_ */
All finger views from a single finger minutiae record.
uint64_t getNumFingerViews() const
Obtain the number of finger views in this finger minutia record.
BiometricEvaluation::Feature::INCITSMinutiae getMinutia(uint32_t viewNumber) const
Obtain the INCITSMinutiae for a finger view.
BiometricEvaluation::Memory::uint8Array getFMR() const
Obtain an ANSI/INCITS 378-2004 record.
void isolateView(const uint64_t viewNumber)
Isolate a finger view from the record.
ANSI2004Record(const BiometricEvaluation::Memory::uint8Array &fmr, const BiometricEvaluation::Memory::uint8Array &fir)
ANSI2004Record constructor using a pair of finger minutia and image records.
void setMinutia(uint32_t viewNumber, const BiometricEvaluation::Feature::INCITSMinutiae &minutia)
Alter the minutia for a single finger view.
uint64_t updateView(const Finger::ANSI2004View &view, const uint64_t viewNumber)
Update an entire finger view.
void setMinutia(const std::vector< BiometricEvaluation::Feature::INCITSMinutiae > &minutia)
Alter the minutia for every finger view.
std::vector< BiometricEvaluation::Feature::INCITSMinutiae > getMinutia() const
Obtain the INCITSMinutiae for all finger views.
ANSI2004Record(const std::initializer_list< BiometricEvaluation::Finger::ANSI2004View > &views)
ANSI2004Record constructor using a set of finger view records.
uint64_t insertView(const Finger::ANSI2004View &view, const uint64_t viewNumber)
Insert a finger view to the record at a specific position.
uint64_t getFMRLength() const
Obtain the size of FMR that will be written by getFMR().
ANSI2004Record(const std::string &fmrPath, const std::string &firPath)
ANSI2004Record constructor using a pair of finger minutia and image records.
Finger::ANSI2004View getView(const uint64_t viewNumber) const
Obtain an ANSI2004View.
uint64_t insertView(const Finger::ANSI2004View &view)
Insert a finger view to the record at a specific position.
void removeView(const uint64_t viewNumber)
Remove a view from the record.
uint64_t getEDBLength() const
Obtain the size of EDB that will be written by getFMR().
A class to represent a set of minutiae in an ANSI/INCITS record.
A class to represent single finger view and derived information.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...