Image Structure Retrieval via Minimization