NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
be_face_incitsview.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_FACE_INCITSVIEW_H__
12#define __BE_FACE_INCITSVIEW_H__
13
14#include <vector>
15
16#include <be_image.h>
17#include <be_face.h>
20#include <be_view_view.h>
21
22namespace BiometricEvaluation
23{
24 namespace Face
25 {
29 typedef std::vector<BiometricEvaluation::Face::Property>
31
44 class INCITSView : public View::View {
45 public:
53
61
69
77
84 void
85 getPropertySet(Face::PropertySet &propertySet) const;
86
89
98 &featurePointSet) const;
99
107
115
123
131
139
146 uint16_t getDeviceType() const;
147
148 protected:
149
150 static const uint32_t ISO2005_STANDARD = 1;
151 static const uint32_t BASE_FORMAT_ID = 0x46414300;
152 /* 'F''A''C' 'nul' */
153
155
176 const std::string &filename,
177 const uint32_t viewNumber);
178
197 const Memory::uint8Array &buffer,
198 const uint32_t viewNumber);
199
208
228 virtual void readHeader(
230 const uint32_t formatStandard);
231
246 virtual void readFaceView(
248
249 private:
251
253 _featurePointSet;
255 _imageType;
257 _imageDataType;
261
262 bool _propertiesConsidered;
266
269
270 uint16_t _quality;
271 uint16_t _deviceType;
272 };
273 }
274}
275#endif /* __BE_FACE_INCITSVIEW_H__ */
276
A class to represent single facial image view and derived information.
INCITSView(const Memory::uint8Array &buffer, const uint32_t viewNumber)
Construct an INCITS face view from a record contained in a buffer.
Face::EyeColor getEyeColor() const
Obtain the eye color.
Face::ImageDataType getImageDataType() const
Obtain the face image data type.
Face::HairColor getHairColor() const
Obtain the hair color.
Face::SourceType getSourceType() const
Obtain the source type.
void getPropertySet(Face::PropertySet &propertySet) const
Get the set of properties.
BiometricEvaluation::Face::Expression getExpression() const
uint16_t getDeviceType() const
Obtain the device type.
Face::ImageType getImageType() const
Obtain the face image type.
Memory::uint8Array const & getFIDData() const
Obtain a reference to the face image record data buffer.
virtual void readFaceView(Memory::IndexedBuffer &buf)
Read the common face representation information from an INCITS record.
virtual void readHeader(BiometricEvaluation::Memory::IndexedBuffer &buf, const uint32_t formatStandard)
Read the common face image data record header from an INCITS record, excepting the format identifier ...
Face::PoseAngle getPoseAngle() const
Obtain the face pose angle.
void getFeaturePointSet(BiometricEvaluation::Feature::MPEGFacePointSet &featurePointSet) const
Obtain the set of.
INCITSView(const std::string &filename, const uint32_t viewNumber)
Construct the common components of an INCITS face view from records contained in files.
Face::Gender getGender() const
Obtain the gender.
Face::ColorSpace getColorSpace() const
Obtain the color space.
bool propertiesConsidered() const
Indicate whether properties are specified.
Wrap a memory buffer with an index.
A class to represent single biometric element view.
Definition: be_view_view.h:31
Expression
Face expression codes.
Definition: be_face.h:110
ColorSpace
Color space codes.
Definition: be_face.h:144
std::vector< BiometricEvaluation::Face::Property > PropertySet
A set of properties.
HairColor
Hair color.
Definition: be_face.h:77
Gender
Gender identifiers.
Definition: be_face.h:50
ImageDataType
Face image data type classification codes.
Definition: be_face.h:135
ImageType
Face image type classification codes.
Definition: be_face.h:125
SourceType
Source type codes.
Definition: be_face.h:156
std::vector< MPEGFacePoint > MPEGFacePointSet
This software was developed at the National Institute of Standards and Technology (NIST) by employees...
Representation of pose angle and uncertainty.
Definition: be_face.h:37