117 ScannedInkOnPaper = 2,
183 const uint16_t
width,
189 const std::vector<std::byte> &
pixels);
246 const std::string &
message =
"");
284 const Result
result = {});
335 RequestRecaptureWithAttempt,
337 UnsupportedResolution,
365 const std::set<SlapImage::Deficiency>
367 const std::string &
message =
"");
486 std::tuple<std::set<SlapImage::Kind>,
bool>
528 std::tuple<ReturnStatus, std::vector<SegmentationPosition>>
560 std::tuple<ReturnStatus, SlapImage::Orientation>
592 std::shared_ptr<Interface>
594 const std::filesystem::path &configurationDirectory);
603 #ifdef NIST_EXTERN_API_VERSION
623 static_assert(std::is_same_v<std::underlying_type_t<std::byte>,
624 uint8_t>,
"std::byte not represented as unsigned 8 bit type");
Slap Fingerprint Segmentation III interface.
static std::shared_ptr< Interface > getImplementation(const std::filesystem::path &configurationDirectory)
Obtain a managed pointer to an object implementing SlapSegIII::Interface.
virtual ~Interface()
Destructor.
virtual std::tuple< std::set< SlapImage::Kind >, bool > getSupported() const =0
Obtain features supported by this implementation.
virtual std::tuple< ReturnStatus, std::vector< SegmentationPosition > > segment(const SlapImage &image)=0
Discover fingerprint segmentation positions within a slap image.
virtual std::tuple< ReturnStatus, SlapImage::Orientation > determineOrientation(const SlapImage &image)=0
Determine the hand orientation of a slap image.
virtual SubmissionIdentification getIdentification() const =0
Obtain identification and version information for this submission.
Slap Fingerprint Segmentation Evaluation III namespace.
uint16_t API_PATCH_VERSION
API patch version number.
uint16_t API_MINOR_VERSION
API minor version number.
FrictionRidgeGeneralizedPosition
Friction ridge generalized position.
@ RightMiddle
Right middle.
@ RightLittle
Right little.
uint16_t API_MAJOR_VERSION
API major version number.
A 2D coordinate, assuming an origin at the top left.
Coordinate(const int32_t x=0, const int32_t y=0) noexcept
Coordinate constructor.
Information about the execution of an API method.
std::set< SlapImage::Deficiency > imageDeficiencies
Deficiencies with a SlapImage (required only when code is RequestRecapture or RequestRecaptureWithAtt...
ReturnStatus(const Code code=Code::Success, const std::set< SlapImage::Deficiency > &imageDeficiencies={}, const std::string &message="")
ReturnStatus constructor.
Code
Possible exit status of a SlapSegIII API method.
Code code
Returned status code.
std::string message
Explanatory message (optional).
An individual segmentation position discovery.
Result(const Code code=Code::Success, const std::string &message="")
Result constructor.
Code
Possible results of segmenting a single finger.
std::string message
Message providing insight into code's value.
Code code
Status from segmenting an individual finger.
Representation of a segmentation position.
Coordinate bl
Bottom-left coordinate, where bottom refers to distal interphalangeal joint of the fingerprint.
SegmentationPosition()
Default SegmentationPosition constructor.
Coordinate tr
Top-right coordinate, where top refers to the top of the fingerprint.
Coordinate tl
Top-left coordinate, where top refers to the top of the fingerprint.
FrictionRidgeGeneralizedPosition frgp
Friction ridge generalized position.
Result result
Result of segmentation position discovery.
Coordinate br
Bottom-right coordinate, where bottom refers to distal interphalangeal joint of the fingerprint.
Data and metadata of an image containing multiple fingerprints.
uint16_t ppi
Resolution of the image in pixels per inch.
SlapImage()
Default SlapImage constructor.
Deficiency
Reasons that a SlapImage cannot be reliably segmented.
uint16_t width
Width of the image.
Orientation
Hand orientation being segmented.
Kind kind
The kind of capture employed to create the image.
CaptureTechnology
Friction ridge capture technology.
CaptureTechnology captureTechnology
The capture technology used to create the image.
uint16_t height
Height of the image.
std::vector< std::byte > pixels
width * height bytes of image data, with pixels.front() representing the top-left pixel and pixels....
Orientation orientation
The orientation of fingers in the image.
Information identifying this submission.
uint16_t version
Version number for this submission.
SubmissionIdentification()
Default constructor.
std::string libraryIdentifier
Identifier for this submission.
std::string marketingIdentifier
Marketing name for this submission.