texture and pattern recognition of images