18#include <unordered_map>
52 std::vector<std::byte>
data{};
207 std::unordered_map<std::string, Correspondence>;
278 std::optional<SubjectPositionCandidateListCorrespondence>
318 std::optional<SubjectCandidateListCorrespondence>
349 using Sample = std::tuple<std::optional<Image>,
350 std::optional<EFS::Features>>;
FrictionRidgeGeneralizedPosition
Friction positions codes from ANSI/NIST-ITL 1-2011 (2015).
std::tuple< std::optional< Image >, std::optional< EFS::Features > > Sample
Convenience definition for a friction ridge sample.
std::unordered_map< SubjectPositionCandidate, double, SubjectPositionCandidateListKeyHash > SubjectPositionCandidateList
Representation of a list of likely candidates returned from a search.
std::string SubjectCandidate
Candidate list entry identifying a subject without respect for region.
TemplateType
Use for data extracted from Sample.
@ Reference
Use within a database for search, or the initial capture during a comparison.
@ Probe
Item being compared to a reference or searched against a reference database.
std::unordered_map< SubjectPositionCandidate, Correspondence, SubjectPositionCandidateListKeyHash > SubjectPositionCandidateListCorrespondence
Representation to output Correspondence for each SubjectPositionCandidate from a SubjectPositionCandi...
std::unordered_map< std::string, Correspondence > SubjectCandidateListCorrespondence
Representation to output Correspondence for each SubjectCandidate from a SubjectCandidateList.
std::unordered_map< std::string, double > SubjectCandidateList
Representation of a list of likely candidates returned from a search.
The results of comparing two templates.
double similarity
Quantification of probe's similarity to reference sample.
bool decision
Best guess on if probe and reference come from the same source.
std::optional< Correspondence > correspondence
Pairs of corresponding Minutia between TemplateType::Probe and TemplateType::Reference templates.
Information about a probe/reference relationship.
std::optional< bool > complex
Whether or not the comparison was complex.
std::vector< EFS::CorrespondenceRelationship > relationships
Groups of relationships between features.
Output from extracting features into a template .
std::vector< std::byte > data
Contents of the template.
std::optional< std::vector< TemplateData > > extractedData
Information contained within data.
The results of a searching a database for subject finger positions.
std::optional< SubjectPositionCandidateListCorrespondence > correspondence
Pairs of corresponding Minutia between TemplateType::Probe and TemplateType::Reference templates.
SubjectPositionCandidateList candidateList
List of SubjectPositionCandidate most similar to the probe.
bool decision
Best guess on if candidateList contains an identification.
The results of a searching a database for a subject, without respect to finger positions.
bool decision
Best guess on if candidateList contains an identification.
std::optional< SubjectCandidateListCorrespondence > correspondence
Pairs of corresponding Minutia between TemplateType::Probe and TemplateType::Reference templates.
SubjectCandidateList candidateList
List of SubjectCandidate most similar to the probe.
Candidate list entry identifying a specific region of a subject.
SubjectPositionCandidate(const std::string &identifier={}, const EFS::FrictionRidgeGeneralizedPosition fgp={})
SubjectPositionCandidate constructor.
auto operator<=>(const SubjectPositionCandidate &) const
EFS::FrictionRidgeGeneralizedPosition fgp
Most localized position in the identifier.
bool operator==(const SubjectPositionCandidate &) const
std::string identifier
Identifier of the sample in the reference database.
Hash function for SubjectPositionCandidate.
std::size_t operator()(const FRIF::SubjectPositionCandidate &c) const noexcept
Collection of templates on disk.
std::filesystem::path archive
File containing concatenated CreateTemplateResult::data.
std::filesystem::path manifest
Manifest for parsing archive.
Information possibly stored in a template.
std::optional< EFS::Features > features
Extended feature set data.
std::string identifier
Identifier provided during template creation.
uint8_t inputIdentifier
Link to Image::identifier and/or EFS::Features::identifier.