Google recently released a computer program that may help understand various aspects of visual imagination in dreaming. Check out these images in their “Inceptionism Gallery” here. The main discussion of the program is from a June 17 post on the Google Research Blog, here. Other images can be found at the Twitter hashtag #deepdream.
I talk in more detail about Google’s project and its relevance for dream research in a Psychology Today blog post here.