Slight different in Cos image.
michealChin opened this issue · 3 comments
michealChin commented
Hi,
I have converted the code to pure c# however there are some discrepancy on the final image. So I try to visualize the orientation image for Sin, Cos and etc
I found out the Cos image generated from c# is as follow
Generated by Python code
Orientation (c#)
Orientation (Python)
Here is the original fingerprint
Enhance result from c#
Enhance result from Python
Could it be the different in the Cos orientation image as generated by both C# and Python that cause the subsequence failure in the final enhance image?
Utkarsh-Deshmukh commented
here are a few points that you can debug on:
- if the
sin
image is similar but thecos
image is different, that is an issue. can you figure out what that would be happening? - can you verify the gabor filter bank that you generate is correct or not?
- In the python code, there would be a variable in the function
__ridge_freq
called_mean_freq
. Can you verify if this value matches with the one which you have derived?
michealChin commented
Utkarsh-Deshmukh commented
glad that it worked!