Text this: Automatic texture exemplar extraction based on global and local textureness measures