Synthetic image generation and the use of virtual environments for image enhancement tasks