Algorithm code for the direction field of the fingerprint image written in c language