A novel method for fingerprint verification that approaches the problem as a two-class pattern recognition problem