Exploring Images With Deep Learning For Classification, Retrieval And Synthesis