SFP: A Spectral Filter Predictor with Progressive Feedback Method for Latent Fingerprint Restoration
The installation and executable files will be made available once the paper is accepted
We're sharing the executable file to ensure a user-friendly experience. Our software combines MATLAB and Python.
The software comprises two parts:
1. Preprocessing with Total Variation This step enhances latent fingerprints by reducing noise.
2. Progressive Feedback Method for Restoration This method combines a new spectral filter predictor within a feedback framework. The spectral filter predictor PyTorch model is converted to ONNX for CPU, no GPU required.
We understand the importance of transparency and reproducibility in research. By offering the executable, we simplify its use, making it convenient, especially for result comparisons.
-
Windows 10 or 11 operating system.
-
Storage 14 GB
- ksip_lfp_enh_installer 300 MB
- MATLAB_Runtime_R2022a_Update_6_win64 (installer 4 GB and install space required 8 GB)
-
Download MATLAB Runtime from www.mathworks.com Or MATLAB_Runtime_R2022a_Update_6_win64.zip (Coming soon).
-
Extract files and install MATLAB Runtime using
setup.exe
.
-
Download ksip_lfp_enh_installer.exe (Coming soon).
-
Install
KSIP LFP ENHANCEMENT
usingksip_lfp_enh_installer.exe
. The installation directory will beC:\Program Files (x86)\KSIP LFP ENHANCEMENT
-
Setup environment path
- Go to
Environment Variables
- Add
C:\Program Files (x86)\KSIP LFP ENHANCEMENT
in thePath
variable under System variables.
If KSIP LFP ENHANCEMENT installed in a different location, add that specific path to System variables instead of C:\Program Files (x86)\KSIP LFP ENHANCEMENT.
- Go to
-
Please ensure the latent fingerprint image resolution is set to 500 DPI.
-
Open
Terminal
orWindows Powershell
-
Run
ksip_sfp.exe --help
and Enter to show the program usageusage: ksip_sfp.exe [-h] [-s START_INDEX] [-e END_INDEX] -fp FINGERPRINT_DIR [-seg SEGMENT_DIR] -out OUTPUT_DIR optional arguments: -h, --help show this help message and exit -s START_INDEX, --start_index START_INDEX Start index -e END_INDEX, --end_index END_INDEX End index -fp FINGERPRINT_DIR, --fingerprint_dir FINGERPRINT_DIR Fingerprint Directory -seg SEGMENT_DIR, --segment_dir SEGMENT_DIR Segment Directory -out OUTPUT_DIR, --output_dir OUTPUT_DIR Output Directory
Run NIST SD27 Enhancement
ksip_sfp.exe -fp D:\NIST_SD27\Latent -seg D:\NIST_SD27\GlobalDict -out D:\NIST_SD27\Enhancement
Run NIST SD27 Enhancement without Segment
ksip_sfp.exe -fp D:\NIST\NIST_SD27\Latent -out D:\NIST_SD27\Enhancement
Run NIST SD27 Enhancement without Segment first 10 images
ksip_sfp.exe -fp D:\NIST_SD27\Latent -out D:\NIST_SD27\Enhancement -s 0 -e 10
Run NIST SD27 Enhancement without Segment 10 images start at image no. 15
ksip_sfp.exe -fp D:\NIST_SD27\Latent -out D:\NIST_SD27\Enhancement -s 15 -e 25
0001/0001 | Image Path: C:\Users\Administrator\Desktop\test\img\001L2U.bmp
0001/0001 | Segment Path: C:\Users\Administrator\Desktop\test\seg\001L2U.png
0001/0001 | Start Enhancement
0001/0001 | Enhancement Success
0001/0001 | Save enhanced image to C:\Users\Administrator\Desktop\test\out\enhanced\001L2U.png
0001/0001 | Execution time: 26.39 second
0001/0001 | Average Execution time: 26.39 sec. Total time: 0:00:26.391823. Estimating Time to Complete: 2023-08-07 07:34:30.650199
This work was supported in part by the Department of Electrical Engineering, Faculty of Engineering, Kasetsart University, and in part by the Siew-Sngiem Karnchanachari Research Leadership and Young Professorship Awards.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
If you are using SFP or benchmarks in your research, kindly reference the following.
If you have any questions or need assistance, reach us at supakit.kr@gmail.com.