Stopping criterion for linear anisotropic image diffusion: a fingerprint image enhancement case