- java.lang.Object
-
- com.machinezoo.sourceafis.FingerprintImageOptions
-
public class FingerprintImageOptions extends Object
Additional information about fingerprint image.FingerprintImageOptions
can be passed toFingerprintImage
constructor to provide additional information about fingerprint image that supplements raw pixel data. Since SourceAFIS algorithm is not scale-invariant, all images should have DPI configured explicitly by callingdpi(double)
.- See Also:
-
FingerprintImage
-
-
Constructor Summary
Constructors Constructor Description FingerprintImageOptions()
Initializes default options.
-
-
-
Method Detail
-
dpi
public FingerprintImageOptions dpi(double dpi)
Sets image resolution. Resolution in measured in dots per inch (DPI). SourceAFIS algorithm is not scale-invariant. Fingerprints with incorrectly configured DPI may fail to match. Check your fingerprint reader specification for correct DPI value. Default DPI is 500.- Parameters:
-
dpi
- image resolution in DPI (dots per inch), usually around 500 - Returns:
-
this
(fluent method) - Throws:
-
IllegalArgumentException
- ifdpi
is non-positive, impossibly low, or impossibly high
-
-