An algorithm predicts the images in a dream

A learning simulation, combined with fMRI readings, is able to predict the visualizations seen by a dreamer in real time (0:22)