Image processing and synthesis: From hand-crafted to data-driven modeling