Pattern recognition and image processing /