#1 (permalink)  
Old 12-02-2008, 01:30 AM
takethislife5150's Avatar
Loves the moderation team!
 
Join Date: Oct 2008
Location: California, USA
Posts: 599
Default Calculating distance from subject?

Is there a way to calculate the distance from a subject based on the size of the subject in the frame, the focal length, and all that?
__________________
D700 & D7000 (both gripped) 80-200 2.8 AF-D 24mm 1.8 (sigma) 50mm f1.8D 85mm 1.8D Sb-600, some white lightnings, vagabond, gadgets, toys ,etc.
Reply With Quote
  #2 (permalink)  
Old 12-15-2008, 08:45 PM
wulf's Avatar
Ninja Moderator
 
Join Date: Dec 2006
Location: Oxford, UK
Posts: 9,667
Default

Do you know the size of the subject? If so, you can probably work out the distance based on comparing that with their size in the frame and the focal length, although any distortion near the edges of the frame will make this more tricky.

However, my question is why do you want to do this? I wonder if it is really the best solution to whatever conundrum you have in mind?

Wulf
__________________
Wulf Forrester-Barker << Sites: blog / flickr >>
Gear: Nikon D40, Nikon AFS 18-55mm f/3.5 - 5.6G, Nikon Series E 50mm f/1.8, Nikon AF 70-300mm f/4-5.6G, Vivitar 90mm f/2.5 macro, Raynox DCR-250, Lensbaby 2.0k, SB600
Reply With Quote
  #3 (permalink)  
Old 12-15-2008, 08:55 PM
Mr Guy's Avatar
Loves the moderation team!
 
Join Date: Apr 2008
Location: Raleigh, NC
Posts: 1,566
Default

Yes, with an if.

No, with a but.


It's pretty much impossible to do completely accurately from a single image. It's only even possible to do rough estimate from certain photographs and requires a lot of additional information, including reference points, known sizes, ability to prove something overlaps, etc...

You can come up with a pretty good estimate from exploiting parallax if you happen to have TWO images taken from different vantage points.
__________________

But Mom, Pentax IS rebellious
Pentax K-7, K20D
Pentax SMCP-FA 35mm f/2.0 AL -- Pentax SMC 50mm f/1.7 -- Pentax DA 50-200mm f/4-5.6 ED -- Sigma 28-70mm f/2.8 EX DG IF Aspherical -- Pentax DA 18-55mm f/3.5-5.6 WR
Reply With Quote
  #4 (permalink)  
Old 12-15-2008, 11:46 PM
takethislife5150's Avatar
Loves the moderation team!
 
Join Date: Oct 2008
Location: California, USA
Posts: 599
Default

Quote:
Originally Posted by wulf View Post
Do you know the size of the subject? If so, you can probably work out the distance based on comparing that with their size in the frame and the focal length, although any distortion near the edges of the frame will make this more tricky.

However, my question is why do you want to do this? I wonder if it is really the best solution to whatever conundrum you have in mind?

Wulf
curiosity really
__________________
D700 & D7000 (both gripped) 80-200 2.8 AF-D 24mm 1.8 (sigma) 50mm f1.8D 85mm 1.8D Sb-600, some white lightnings, vagabond, gadgets, toys ,etc.
Reply With Quote
  #5 (permalink)  
Old 12-16-2008, 08:28 AM
wulf's Avatar
Ninja Moderator
 
Join Date: Dec 2006
Location: Oxford, UK
Posts: 9,667
Default

If you are really curious, the best way is to go out, take some test shots and do some measuring and mathematics to see if you can figure it out. Let us know what you find out!

Wulf
__________________
Wulf Forrester-Barker << Sites: blog / flickr >>
Gear: Nikon D40, Nikon AFS 18-55mm f/3.5 - 5.6G, Nikon Series E 50mm f/1.8, Nikon AF 70-300mm f/4-5.6G, Vivitar 90mm f/2.5 macro, Raynox DCR-250, Lensbaby 2.0k, SB600
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

What’s Your Preference?

Daily Digest

Each day we send out a quick email to thousands of DPS readers to notify them of updates. This email is just short excerpt of the first few lines of our latest post with a link if you want to read it all. You can unsubscribe from this this service at any time.

This service is provided by a third party (Feedburner) and you can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Summary

For those wanting a weekly summary of what happens on this site this free email newsletter is probably your best option. It includes a summary of the tips posted to the site each week. This newsletter is subscribed to by over 25000 readers (many who also subscribe to the other options above) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter:

 
SEO by vBSEO 3.3.0