Machine-Vision Algorithm Learns to Transform Hand-Drawn Sketches Into Photorealistic Images