Example-Based Image Synthesis of Articulated Figures