One-Shot Texture Retrieval with Global Context Metric