Expand description
§fprint-mindtct
A pure-Rust, dependency-free reimplementation of MINDTCT — NIST NBIS’s minutiae detector.
Given an 8-bit grayscale fingerprint image it produces a list of Minutia (x, y, theta,
quality) reproducing the stock NBIS tool’s xyt output. The unstable-diagnostics feature
additionally exposes the intermediate block maps and binarized image used to reach them.
§Provenance
MINDTCT is public-domain U.S. Government software (title 17 §105). This crate is a faithful
port of stock upstream NBIS (reference/nbis-stock/mindtct/, see docs/mindtct-algorithm.md),
verified black-box against the stock C tool; reproducing its xyt output bit-for-bit requires
following its arithmetic and its ordering closely, which public domain permits. It is not
derived from libfprint’s patched nbis/mindtct/ copy, whose changes carry LGPL terms. The
crate carries MIT OR Apache-2.0. See ARCHITECTURE.md §Provenance & licensing.
§Types
The crate takes its own GrayImage and returns its own Minutia — the xyt triple is an
interoperability fact, so the detector stays a self-contained image-processing kernel with no
dependency on the domain model. A consumer (e.g. fprint-backend-native) converts to its
fprint_core::Minutia at the boundary.
Structs§
- Gray
Image - An 8-bit grayscale fingerprint image, row-major, one byte per pixel.
- Minutia
- One detected minutia in NIST
xytform.
Enums§
- Image
Error - The error
GrayImage::newreturns when the supplied image cannot be processed by MINDTCT.
Constants§
- MIN_
DETECTABLE_ DIM - The smallest image dimension MINDTCT can process, in pixels.
Functions§
- detect_
minutiae - Detect the minutiae in a grayscale fingerprint image.