## Friday, September 19, 2008

### Depth Perception, part 1

This post will take a look at how depth perception works. The next post will build on this background to answer yesterday's question.

First experiment:
2. Now open them.
If you did the first part of that experiment right away, you shouldn't have known what to do next, because you wouldn't be able to read the instructions. Close your eyes and you can't see any more. Conclusion: you see with your eyes. (Actually, this just shows that eyes are "necessary but not sufficient". But hey, let's not split corneas here.)

Second experiment: Cut open a cow's eye and diagram it. You should get this:

The salient point is that your eye is designed to give your brain the information "lots of light is coming from this direction, not so much from that direction, and none at all from a third direction". Overall, there are lots and lots of directions. When you put them all together, you get an image.

That's what one eye does. The way it does it is optics. First, light comes into the eye and passes through the lens. All light that comes in parallel, regardless of whether it enters the left or right side of the eye, then gets focused to the same part of the retina. That's the glory of the lens. So all the light falling on a certain part of the retina came from the same direction in space, not from entering the same part of your eye.

This directional knowledge lets your build an image. Here is a picture you can look at with your eyes:

To see each pixel, you must look in a slightly different direction. Putting each pixel with its appropriate direction allows you to build the image back up in your mind.

So eyes only care about the direction light comes in. However, you have two eyes, and they're in different places. That means light from the same source will enter from different angles. Here's a gratuitous graphic:

Okay, so light from an object, like a baseball you want to catch (actually, depth perception is not the tool baseball outfielders use to flag down a fly ball, but that's another story), enters your left eye from a direction (&thetal, &phil), and enters your right eye from a different direction (&thetar, &phir). How far away is the object? Here, &theta is the polar angle, the angle between the line from the top of your head to your feet and the path of the light. &phi is the azimuthal angle, telling how far to the right or left the direction is. Some people use a different convention. Mine is like this:

Your eyes are separated (obviously) by a distance d. Also, we'll make the approximation that the object is far enough away from your face that it's essentially the same distance from each eye. In that case, the polar angle &theta will be the same for each eye.

The three lines, one connecting your eyes, the other two from each eye to the object, form a triangle like this:

Boom! The math is right in there! I actually just spent ten minutes searching for and installing this thing that should let me start $\LaTeX$'ing up my blog, and then I didn't even use it (except to make that sexy $\LaTeX$ logo).

Anyway, yup. $d \approx \frac{w}{\Delta}$ where d is the distance to the object, and w is the width of your eyes. &Delta is the difference between the azimuthal angles, and &phi is that azimuthal angle (either one. the difference is small). I made two simplifying assumptions. The first is that the difference in the angles is small, which just means the thing isn't right up in your face. The second is that the object is close to right in front of you, which is necessary to be able to use depth perception on it.

Nice.

Now there's a problem, which is that you only get so much accuracy in determining the angles. As &delta becomes smaller and smaller, small errors result in big problems for d. So depth perception only works for objects close to you, or a medium distance away. For very far objects, you need to use other clues. The same problem occurs for astronomers attempting to find the distance to a star by parallax.

Nikita said...

Right. I think I got it now.
When you look into a mirror light from the object enters your eye at all different angles. If you tilt your head one way or another, you'll see a different image. So there is depth perception.
As for a TV, it's the camera that captures the light from the object. So when you watch TV, it doenst matter how far you tilt your head, you'll always see the same image.

Anonymous said...

wise to caper pendants [url=http://www.blingforfun.com]hip hop jewelry[/url],[url=http://www.blingforfun.com/pendants/cat_9.html]hip skip pendants[/url],informed hop watches,[url=http://blingforfun.com/belts/cat_18.html]bling bling[/url] ,in skip,[url=http://blingforfun.com/chains/cat_7.html]hip hop chains[/url],aware caper bling,[url=http://blingforfun.com/chains/cat_7.html]iced out like a light chains[/url],[url=http://www.blingforfun.com/chains/cat_7.html]wholesale chains[/url]
hip jump jewelry

Anonymous said...

chatujak http://cciworldwide.org/members/Furnace-Filters.aspx exoticism http://cciworldwide.org/members/Vending-Machines.aspx signatory http://cciworldwide.org/members/Kitchen-Cabinets.aspx joelb http://cciworldwide.org/members/Slipcovers.aspx fortunately http://cciworldwide.org/members/Polar-Heart-Rate-Monitors.aspx alvi http://cciworldwide.org/members/Popcorn-Machines.aspx compensable http://cciworldwide.org/members/Garage-Door-Openers.aspx aeronautical http://cciworldwide.org/members/Area-Rugs.aspx bauhaus http://cciworldwide.org/members/Omeprazole.aspx aest

Anonymous said...

glucophage help with pregnancy what is glucophage taking medroxyprogesterone then glucophage glucophage weight loss glucophage fort articles on glucophage and weight loss 3 glucophage xl
[url=http://takeglucophage.eventbrite.com/]glucophage and body building [/url]
proscar finasteride canine prescribe proscar proscar ejaculate generic proscar proscar without a prescription proscar and propecia affect proscar side
levitra woman anti impotence impotence information impotence problem livitra q buy levitra online q buy levitra
http://bactrim.eventbrite.com/

Anonymous said...

I really like when people are expressing their opinion and thought. So I like the way you are writing

Anonymous said...

You have tested it and writing form your personal experience or you find some information online?

Anonymous said...

Hey,

I am regular visitor of this website[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url]Plenty of useful information on arcsecond.blogspot.com. I am sure due to busy scedules we really do not get time to care about our health. Let me show you one truth. Recent Scientific Research indicates that closely 90% of all USA grownups are either fat or weighty[url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips].[/url] Hence if you're one of these individuals, you're not alone. Its true that we all can't be like Brad Pitt, Angelina Jolie, Megan Fox, and have sexy and perfect six pack abs. Now the question is how you are planning to have quick weight loss? Quick weight loss can be achived with little effort. Some improvement in of daily activity can help us in losing weight quickly.

About me: I am author of [url=http://www.weightrapidloss.com/lose-10-pounds-in-2-weeks-quick-weight-loss-tips]Quick weight loss tips[/url]. I am also mentor who can help you lose weight quickly. If you do not want to go under painful training program than you may also try [url=http://www.weightrapidloss.com/acai-berry-for-quick-weight-loss]Acai Berry[/url] or [url=http://www.weightrapidloss.com/colon-cleanse-for-weight-loss]Colon Cleansing[/url] for effortless weight loss.

Anonymous said...

Amiable post and this mail helped me alot in my college assignement. Gratefulness you seeking your information.

Anonymous said...

i absolutely enjoy your own posting taste, very exciting.
don't give up and also keep writing as a result it simply worth to look through it,
impatient to find out way more of your current posts, regards ;)

Anonymous said...

Hello,

Do you guys watch movies in theater or on internet? I use to rent DVD movies from [b]Redbox.com[/b]. Recently I discovered that we can watch all new movies on internet on day, they are released. So why should I spend money on renting movies??? So, can you guys please tell me where I can [url=http://www.watchhotmoviesfree.com]watch latest movie Immortals 2010[/url] for free?? I have searched [url=http://www.watchhotmoviesfree.com]Youtube.com[/url], [url=http://www.watchhotmoviesfree.com]Dailymotion.com[/url], [url=http://www.watchhotmoviesfree.com]Megavideo.com[/url] but, Could not find a good working link. If you know any working link please share it with me.

Thanks

Anonymous said...

Sorry for my bad english. Thank you so much for your good post. Your post helped me in my college assignment, If you can provide me more details please email me.

Anonymous said...

hi every person,

I identified arcsecond.blogspot.com after previous months and I'm very excited much to commence participating. I are basically lurking for the last month but figured I would be joining and sign up.

I am from Spain so please forgave my speaking english[url=http://feedworld.info/].[/url][url=http://sportsnewsep.info/forum].[/url][url=http://ovwhatsnewtoday.info/forum].[/url]