Best-Match Retrieval For Structured Images