Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Cameras, Lenses & Accessories Canon Lenses 
Thread started 27 Sep 2011 (Tuesday) 04:32
Search threadPrev/next
sponsored links (only for non-logged)

How do lenses determine the focus distance?

 
b_ron
Senior Member
Avatar
547 posts
Joined Oct 2009
Location: sOCal
     
Sep 27, 2011 04:32 |  #1

I did a quick search but couldn't find a straight answer.

How do lenses determine the actual distance of the object it is focusing on? like on the screen of the lens.


| G | F (external link) |

  
  LOG IN TO REPLY
Mike
ugly when I'm sober
Avatar
15,398 posts
Gallery: 51 photos
Best ofs: 1
Likes: 393
Joined Nov 2006
Location: Canterbury/Ramsgate, UK
     
Sep 27, 2011 05:00 |  #2

It uses magic ;)


Seriously though, this (external link) may help you. While not an answer to your exact question it is a start in the right direction.


www.mikegreenphotograp​hy.co.uk (external link)
Gear
UK South Easterners
flickr (external link) Insta1 (external link) Insta2 (external link)

A closed mouth gathers no foot.

  
  LOG IN TO REPLY
Brian_R
Goldmember
2,656 posts
Likes: 8
Joined Aug 2010
     
Sep 27, 2011 07:09 |  #3

no it is magic that link is a lie.

there are little invisible gnomes that run out from inside your lens with a tape measure and calculate the plane of critical focus and then radio it back to your camera and then your auto focus takes over and BOOM your ready to go




  
  LOG IN TO REPLY
joebob23
Member
83 posts
Joined Jul 2007
Location: Raleigh
     
Sep 27, 2011 07:31 |  #4

Not sure what you mean by "on the screen of the lens". Are you asking about the distance reported in exif data, or the focus index on the lens itself?


If the data reported in exif:
I'm guessing that there is some sort of communication between camera and lens that relates raw data about the focus element position, which then gets converted to text and embedded in the exif data at time of record. For example: say actual focus element has 10 positions, the first would be the minimum focus distance of 10', second position at 20', etc., the last being infinity. The lens knows the position of the focussing element so it reports it back to the camera to be embedded in the exif. The camera and lens don't know the subject distance, but it knows generally where it's focussing at.

If you're talking about the focus index on the lens itself:
When they engineer the lenses, they know the focus distance based on calculations of the glass curvature, refraction, etc. Based on that, they know where critical sharp focus will occur (distance-wise) given a specific position of the focussing element in the lens. They can then put distances on the focus index of the lens based on where the focussing elements position is given a certain focus ring position.




  
  LOG IN TO REPLY
tomj
Senior Member
706 posts
Likes: 61
Joined May 2010
     
Sep 27, 2011 08:53 |  #5

If Mike's link didn't confuse you enough, try this:

http://www.zen20934.ze​n.co.uk …y/Canon%20AF%20​System.htm (external link)


Flickr (external link)
Instagram (external link)

  
  LOG IN TO REPLY
Mark1
Cream of the Crop
Avatar
6,725 posts
Likes: 7
Joined Feb 2008
Location: Maryland
     
Sep 27, 2011 10:03 |  #6

Its a trick question!!! The lens does not determine anything. The part that makes the decision is in the camera body.


www.darkslisemag.com (external link)

  
  LOG IN TO REPLY
amfoto1
Cream of the Crop
10,331 posts
Likes: 146
Joined Aug 2007
Location: San Jose, California
     
Sep 27, 2011 11:42 |  #7

Yeah, that's true... It's the camera that focuses the lens in most modern cameras...

http://en.wikipedia.or​g/wiki/Autofocus (external link) has lots of info on how it works and discusses the different types of focus.

Canon DSLRs use Phase Detect for most focusing. Models with Live View switch to Contrast Detect when in that mode... it's slower but can be more accurate.


Alan Myers (external link) "Walk softly and carry a big lens."
5DII, 7DII, 7D, M5 & others. 10-22mm, Meike 12/2.8,Tokina 12-24/4, 20/2.8, EF-M 22/2, TS 24/3.5L, 24-70/2.8L, 28/1.8, 28-135 IS (x2), TS 45/2.8, 50/1.4, Sigma 56/1.4, Tamron 60/2.0, 70-200/4L IS, 70-200/2.8 IS, 85/1.8, Tamron 90/2.5, 100/2.8 USM, 100-400L II, 135/2L, 180/3.5L, 300/4L IS, 300/2.8L IS, 500/4L IS, EF 1.4X II, EF 2X II. Flashes, strobes & various access. - FLICKR (external link)

  
  LOG IN TO REPLY
Snydremark
my very own Lightrules moment
20,051 posts
Gallery: 66 photos
Likes: 5573
Joined Mar 2009
Location: Issaquah, WA USA
     
Sep 27, 2011 11:54 |  #8

Mark1 wrote in post #13170863 (external link)
Its a trick question!!! The lens does not determine anything. The part that makes the decision is in the camera body.

I don't think that's exactly true; if you don't have a lens that relays distance info to the camera, then the data isn't recorded in EXIF...so, most (anyway) of the consumer grade lens/body combos will not include that info.


- Eric S.: My Birds/Wildlife (external link) (R5, RF 800 f/11, Canon 16-35 F/4 MkII, Canon 24-105L f/4 IS, Canon 70-200L f/2.8 IS MkII, Canon 100-400L f/4.5-5.6 IS I/II)
"The easiest way to improve your photos is to adjust the loose nut between the shutter release and the ground."

  
  LOG IN TO REPLY
Mark1
Cream of the Crop
Avatar
6,725 posts
Likes: 7
Joined Feb 2008
Location: Maryland
     
Sep 27, 2011 12:59 |  #9

The question was not how to record the info. The question was how the lens determines the distance. It simply does not. The AF system in the body tells the lens to adjust till it sees the maximum amount of contrast it can obtain. The lens makes no decisions itself. However, The lens will report its position and that can me calculated into a distance.


www.darkslisemag.com (external link)

  
  LOG IN TO REPLY
b_ron
THREAD ­ STARTER
Senior Member
Avatar
547 posts
Joined Oct 2009
Location: sOCal
     
Sep 27, 2011 13:04 |  #10

joebob23 wrote in post #13170335 (external link)
Not sure what you mean by "on the screen of the lens". Are you asking about the distance reported in exif data, or the focus index on the lens itself?


If the data reported in exif:
I'm guessing that there is some sort of communication between camera and lens that relates raw data about the focus element position, which then gets converted to text and embedded in the exif data at time of record. For example: say actual focus element has 10 positions, the first would be the minimum focus distance of 10', second position at 20', etc., the last being infinity. The lens knows the position of the focussing element so it reports it back to the camera to be embedded in the exif. The camera and lens don't know the subject distance, but it knows generally where it's focussing at.

If you're talking about the focus index on the lens itself:
When they engineer the lenses, they know the focus distance based on calculations of the glass curvature, refraction, etc. Based on that, they know where critical sharp focus will occur (distance-wise) given a specific position of the focussing element in the lens. They can then put distances on the focus index of the lens based on where the focussing elements position is given a certain focus ring position.

I meant the focusing screen on the lens (ex: 1.5m to infinity)

I kinda thought it was some sort of light that is relayed through the lens, hits the object in focus, brings it back to lens or body.

Reading those links at the moment...


| G | F (external link) |

  
  LOG IN TO REPLY
Snydremark
my very own Lightrules moment
20,051 posts
Gallery: 66 photos
Likes: 5573
Joined Mar 2009
Location: Issaquah, WA USA
     
Sep 27, 2011 13:06 |  #11

Mark1 wrote in post #13171645 (external link)
The question was not how to record the info. The question was how the lens determines the distance. It simply does not. The AF system in the body tells the lens to adjust till it sees the maximum amount of contrast it can obtain. The lens makes no decisions itself. However, The lens will report its position and that can me calculated into a distance.

Gotcha; that makes more sense. Thanks!


- Eric S.: My Birds/Wildlife (external link) (R5, RF 800 f/11, Canon 16-35 F/4 MkII, Canon 24-105L f/4 IS, Canon 70-200L f/2.8 IS MkII, Canon 100-400L f/4.5-5.6 IS I/II)
"The easiest way to improve your photos is to adjust the loose nut between the shutter release and the ground."

  
  LOG IN TO REPLY
Virto
Goldmember
Avatar
1,647 posts
Likes: 2
Joined Nov 2010
Location: Elgin, IL
     
Sep 27, 2011 13:08 |  #12

amfoto1 wrote in post #13171293 (external link)
Canon DSLRs use Phase Detect for most focusing. Models with Live View switch to Contrast Detect when in that mode... it's slower but can be more accurate.

Oddly enough, the 40D does not. When in live view, using autofocus lowers the mirror, turns off the LCD and focuses the lens with phase detect. Then it lifts the mirror and turns the screen back on.

Found that out the other day, I was surprised, as I was used to contrast detect from the XS.

Just something I thought was neat/odd/unusual.


Kelly - EOS 5D - EOS 40D - Rebel XS - EOS 10D - EOS 1D - SX230 - AE-1 - OM-1n - Minolta Himatic7 - EOS-1N
ABR800 - Several flashes, remote triggers, stands, too many and yet not enough lenses

  
  LOG IN TO REPLY
Snydremark
my very own Lightrules moment
20,051 posts
Gallery: 66 photos
Likes: 5573
Joined Mar 2009
Location: Issaquah, WA USA
     
Sep 27, 2011 13:09 |  #13

b_ron wrote in post #13171670 (external link)
I meant the focusing screen on the lens (ex: 1.5m to infinity)

I kinda thought it was some sort of light that is relayed through the lens, hits the object in focus, brings it back to lens or body.

Reading those links at the moment...

So, that's related to the info in Mark's responses. The manufacturer knows that at "position x" the lens is focused at APPROXIMATELY "y distance"; so they put those markers on there. That scale is just a rough approximation of how far out the lens is focused and not anywhere close to exact measurements.


- Eric S.: My Birds/Wildlife (external link) (R5, RF 800 f/11, Canon 16-35 F/4 MkII, Canon 24-105L f/4 IS, Canon 70-200L f/2.8 IS MkII, Canon 100-400L f/4.5-5.6 IS I/II)
"The easiest way to improve your photos is to adjust the loose nut between the shutter release and the ground."

  
  LOG IN TO REPLY
b_ron
THREAD ­ STARTER
Senior Member
Avatar
547 posts
Joined Oct 2009
Location: sOCal
     
Sep 27, 2011 13:13 |  #14

Yeah. Mark's link explains the contrast differences. tomj's link basically says the same thing in different words? phase difference in light (contrast?), using that to calculate the distance.


| G | F (external link) |

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

2,107 views & 0 likes for this thread, 9 members have posted to it.
How do lenses determine the focus distance?
FORUMS Cameras, Lenses & Accessories Canon Lenses 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is EBiffany
1601 guests, 98 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.