How to calculate the gross direction for each region or block in an image?

asked 2019-02-05 05:54:32 -0600

H.Nagaty gravatar image

updated 2019-02-05 06:05:39 -0600

Fingerprint image

For the purpose of enhancement of a fingerprint image, I want to reconnect the cut ridges. So I need to get the direction of each ridge. Please can anyone help me to calculate the gross direction for each region or block in the fingerprint image?

The second image is an example for what I need to do. directional image

edit retag flag offensive close merge delete