Gravar-mail: Tree-Encoded Conditional Random Fields for Image Synthesis