A feature extraction method using the chaincode representation of fingerprint ridge contours is presented. The representation allows efficient image quality enhancement and detection of fine minutiae feature points. The direction field is estimated from a set of selected chaincodes. The original gray-scale image is enhanced using a dynamic filtering scheme that takes advantage of the estimated direction flow of the contours. Minutiae are generated using ridge contour following.