approximating shapes based on contours, applying on top of texture