California scientists have found a way to see through another person's eyes. 
 
 Researchers from UC Berkeley were able to reconstruct YouTube videos from viewers' brain activity -- a feat that might one day offer a glimpse into our dreams, memories and even fantasies. 
 
 "This is a major leap toward reconstructing internal imagery," said Jack Gallant, professor of psychology and coauthor of a study published today in Current Biology. "We are opening a window into the movies in our minds." 
 
 Gallant's coauthors acted as study subjects, watching YouTube videos inside a magnetic resonance imaging machine for several hours at a time. The team then used the brain imaging data to develop a computer model that matched features of the videos -- like colors, shapes and movements -- with patterns of brain activity. 
 
 "Once we had this model built, we could read brain activity for that subject and run it backwards through the model to try to uncover what the viewer saw," said Gallant. 
 
 Subtle changes in blood flow to visual areas of the brain, measured by functional MRI, predicted what was on the screen at the time -- whether it was Steve Martin as Inspector Clouseau or an airplane. The reconstructed videos are blurry because they layer all the YouTube clips that matched the subject's brain activity pattern. The result is a haunting, almost dream-like version of the video as seen by the mind's eye. 
 
 The researchers say the technology could one day be used to broadcast imagery -- the scenes that play out inside our minds independent from vision. 
 
 "If you can decode movies people saw, you might be able to decode things in the brain that are movie-like but have no real-world analog, like dreams," Gallant said. 
 
 The brain activity measured in this study is just a fraction of the activity that lets us see moving images. Other, more complex areas help us interpret the content of those images -- distinguish faces from lifeless objects, for example. 
 
 "The brain isn't just one big blob of tissue. It actually consists of dozens, even hundreds of modules, each of which does a different thing," said Gallant. "We hope to look at more visual modules, and try to build models for every single part of visual system." 
 
 More models, Gallant said, mean better resolution. It also means a ton more data to analyze. 
 
 "We need really big computers," Gallant said. 
 
 Shinji Nishimoto, a neuroscientist in Gallant's lab and the study's lead author, said the results shed light on how the brain understands and processes visual experiences. 
 
 "We need to know how the brain works in naturalistic conditions," Nishimoto said in a statement. "For that, we need to first understand how the brain works while we are watching movies." 
 
 Whether the technology could also be used to watch people's dreams or memories -- even intentions -- depends on how close those abstract visual experiences are to the real thing. 
 
 "We simply don't know at this point. But it's our next line of research," said Gallant. 
 
 If the technology could be used to broadcast imagery, it could one day allow people who are paralyzed to control their environment by imagining sequences of movements. Already, brain waves recorded through electrodes on the scalp can flip a switch, allowing people with Lou Gehrig's disease and other paralyzing conditions to choose letters on a computer monitor and communicate. 
 
 Gallant and his team are often asked whether the technology could be used in detective work or court cases -- an idea that brings to mind the futuristic crime-foiling action in "Minority Report." 
 
 But the potential to watch a person's memories may not be so far off. Whether such memories could be used in a court of law, however, would be limited not only by the technology but also the nature of memories. After all, Gallant's website reads, an accurate read-out of a faulty memory only provides misleading information. ||||| If you thought the new Facebook was invasive, computer scientists are now one step closer to reading our minds. 
 
 Researchers from UC Berkeley pieced together the brain patterns of its subjects as they watched YouTube videos, and then produced a YouTube video of their own with the results. 
 
 What emerged was like a Surrealist painting: a blurry, dream-like interpretation of reality (see video below). 
 
 For the experiment, subjectsthe researchers themselvesspent hours lying still inside a magnetic resonance imaging (MRI) machine, watching two sets of movie trailers. The MRI machine recorded the amount of blood flowing through the visual cortex, the part of the brain that processes visual information. 
 
 During the first set, recorded brain activity was fed into a computer to program a "movie reconstruction algorithm," which matched neural activity to what was taking place in the video. The algorithm thus learned to associate certain neural patterns with dynamic informationshapes, images, soundsagainst 18 million seconds of random YouTube videos. 
 
 Subjects then watched the same set of trailers as the algorithm pieced together a video based on brain activity recorded by the MRI. The result is a continuous, if abstract, reconstruction of the actual videos. 
 
 The key word there is "continuous." Scientists have long been able to reconstruct static photos and images from reading brain patterns, but this is believed to be a first for reading a dynamic visual experience. 
 
 It's only a small step towards Jedi mind reading, but the scientists say it paves the way for eventually being able to see what's going on in the mind without visual stimulation: dreams and thoughts. 
 
 "Our natural visual experience is like watching a movie," Shinji Nishimoto, lead author of the study, said in a statement. "In order for this technology to have wide applicability, we must understand how the brain processes these dynamic visual experiences." 
 
 For more from Sara, follow her on Twitter @sarapyin. 
 
 For the top stories in tech, follow us on Twitter at @PCMag.
– Scientists at UC Berkeley have made a major advancement in the field of mind reading, reconstructing YouTube videos based on brain scans from people who’d seen them. Researchers would put subjects into an MRI machine and track their brain activity as they viewed videos. Once they’d build a model of how a subject’s mind processed the video, “we could read brain activity for that subject and run it backward … to try to uncover what the viewer saw,” one study coauthor tells ABC News. Using the scans they were then able to reproduce the videos—though they’re blurry. “This is a major leap,” the co-author says. He thinks the technique could eventually be used to reconstruct dreams or memories, if it turns out the brain processes those things similarly to how it processes movies. “It’s our next line of research.” (More details on how the experiment worked, along with a video, at PC Magazine.)