usnistgov / NFIQ2

Optical live-scan and ink fingerprint image quality assessment tool
https://www.nist.gov/services-resources/software/development-nfiq-20
Other
129 stars 57 forks source link

Document border handling on rotation #354

Open gfiumara opened 1 year ago

gfiumara commented 1 year ago

Investigate—and likely change—the border handling of invalid regions when rotating a block.

A region of size 32x16 is only fully contained inside a region of size 32x32 for 4 distinct angles – how to deal with all other angles?

Are invalid regions cropped, as specified in the standard?

Source: Comment DE-071 from ISO/IEC JTC 1/SC 37/WG 3 N 1416 (Clauses 5.2.3.1, 5.2.4.3)

gfiumara commented 1 year ago

Before the line in question: nfiq2-block-244-preRotate

After the line in question: nfiq2-block-244-postRotate

Note: both images are 36x36.