Contour and Texture Analysis for Image