Pattern Recognition and image analysis