image pattern recognition pdf techknowledgy blog of mathematics and computer science