# A pair of glasses that makes any movie you want into 3D? (Big Bang Theory)

**URL:** <https://boards.straightdope.com/t/a-pair-of-glasses-that-makes-any-movie-you-want-into-3d-big-bang-theory/661538>\
**Category:** Cafe Society\
**Created:** [June 21, 2013, 5:01am UTC](https://boards.straightdope.com/t/a-pair-of-glasses-that-makes-any-movie-you-want-into-3d-big-bang-theory/661538 "2013-06-21T05:01:18Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Little\_Nemo](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/little_nemo/32/3120_2.png) [@Little\_Nemo](https://boards.straightdope.com/u/Little_Nemo)\
**Post date:** [June 22, 2013, 5:19pm UTC](https://boards.straightdope.com/t/a-pair-of-glasses-that-makes-any-movie-you-want-into-3d-big-bang-theory/661538/21 "2013-06-22T17:19:17Z")

</div>

> [@drewtwo99](#):
>
> I’ve had a TV for almost a year now that can do this. It’s kind of funny that some of you aren’t aware of it.
> 
> Yes, you can convert 2D to 3D in real time, and the results aren’t even that bad. I watched an entire movie on Blu-Ray that was in 2D (the 2nd sherlock holmes movie with RDJ). The effect was pretty good. Not as good as a movie that’s actually filmed in 3D (like Avatar), but about as good as those that are later “converted” to 3D via post-processing (but with some mistakes as opposed to none).
> 
> I have even played video games using the 2D to 3D setting (like minecraft and assassin’s creed), and it’s kind of cool. The effect is far from perfect, but I mean… imagine what we’ll have in the year 2020?

How does it work without some kind of AI recognition system? Here’s a [picture](http://vancouverisawesome.com/wp-content/uploads/2010/01/january0710_0045.jpg) as an example. A person can look at this picture and realize the beach ball is in the immediate foreground and the band is further back. But a computer might “think” that there’s a giant ball floating right next to the band or even that the ball is in the background and the band is standing in front of it. Meanwhile, there’s a disco ball which actually is behind the band. How would a computer “know” that one ball in in the foreground and the other is in the background?

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [June 23, 2013, 6:13pm UTC](https://boards.straightdope.com/t/a-pair-of-glasses-that-makes-any-movie-you-want-into-3d-big-bang-theory/661538/22 "2013-06-23T18:13:29Z")

</div>

OK, to start with, in that picture the back wall has a continuous patter on it, with rather sharp definition, and so must be in focus (or close to it). The ball overlaps on that continuous pattern, and has a fuzzy edge consistent with it being out-of-focus (it could also be an inherently fuzzy object, but it’d be a simple heuristic to reject that). So the ball must be at a significantly different depth than the wall, and since the boundary between the two is fuzzy, it must be the ball in front of the wall, not vice-versa. And since the ball is fuzzier than anything else in the image, it must be the closest object in the image, closer than the musicians.

Then there’s also a floor, with some degree of texture itself. It’d take some degree of heuristics to recognize it as a floor, but since most pictures have horizontal surfaces in them, it’s probably not too hard to figure out which portion of the picture must show it. And the positions of other objects (and their shadows) on the floor helps give some depth information, too.

Get depth information for a few objects, and you can start to more precisely calibrate the out-of-focus blurring, and use that to estimate depths for other objects not easily placed on the floor.

Of course, if the computer has any capability for recognizing common objects like humans (which is becoming pretty commonplace nowadays), that can help, too.

And if this were merely one frame from a video, the program could also use information from adjacent frames to puzzle out some aspects that it couldn’t as easily get from a single frame, especially since most of the objects in the video won’t be moving from one frame to another in three-dimensional space (thus, any apparent motion is due to the motion of the camera).

[Previous page](https://boards.straightdope.com/t/a-pair-of-glasses-that-makes-any-movie-you-want-into-3d-big-bang-theory/661538.md?page=1)
