Scaling a Photo Image

Moderator: admin

Post Reply
User avatar
dusty
Platinum Member
Posts: 21530
Joined: Wed Nov 22, 2006 6:52 am
Location: Tucson (Wildcat Country), Arizona

Scaling a Photo Image

Post by dusty »

If I have a photograph of something that I know to be 20' long and I know the pixel size of the photo frame, can I determine the dimensions of items in that photograph by scaling (using the pixel count)?
"Making Sawdust Safely"
Dusty
Sent from my Dell XPS using Firefox.
User avatar
JPG
Platinum Member
Posts: 35600
Joined: Wed Dec 10, 2008 7:42 pm
Location: Lexington, Ky (TAMECAT territory)

Post by JPG »

dusty wrote:If I have a photograph of something that I know to be 20' long and I know the pixel size of the photo frame, can I determine the dimensions of items in that photograph by scaling (using the pixel count)?
Maybe!

Camera angle(and lense) may introduce 'irregularities'.

I think a reasonable approximation can be gleaned that way.

For starters, how accurate is the 20'?
╔═══╗
╟JPG ╢
╚═══╝

Goldie(Bought New SN 377425)/4" jointer/6" beltsander/12" planer/stripsander/bandsaw/powerstation /Scroll saw/Jig saw /Craftsman 10" ras/Craftsman 6" thicknessplaner/ Dayton10"tablesaw(restoredfromneighborstrashpile)/ Mark VII restoration in 'progress'/ 10
E[/size](SN E3779) restoration in progress, a 510 on the back burner and a growing pile of items to be eventually returned to useful life. - aka Red Grange
User avatar
nuhobby
Platinum Member
Posts: 2365
Joined: Fri Sep 21, 2007 4:34 am
Location: Indianapolis

Post by nuhobby »

Take this in the spirit of "everything looks like a nail, to a hammer" :) . At one point about 6 years ago, I was messing with importing photographs into Google Sketchup, and then lining up the vanishing points, estimating object placements, etc. It was possible to then have a Sketchup model that could be viewed from any new aspect point, and have dimensions taken from it. I only did this once, so I really can't remember how to do it any more....
Chris
saminmn
Gold Member
Posts: 366
Joined: Thu Mar 01, 2012 10:32 am
Location: Northfield, MN

Post by saminmn »

nuhobby wrote:Take this in the spirit of "everything looks like a nail, to a hammer" :) . At one point about 6 years ago, I was messing with importing photographs into Google Sketchup, and then lining up the vanishing points, estimating object placements, etc. It was possible to then have a Sketchup model that could be viewed from any new aspect point, and have dimensions taken from it. I only did this once, so I really can't remember how to do it any more....
Dusty, I think you will need something like Sketchup to help you. Its use of perspective view mimics the camera's captured image pretty well. If the axis orientations of sketch up are alined closely with the pictured object there should be a way to set the scale in Sketchup so that the known dimension is 20' in Sketchup. Other dimensions should then be able to be captured. There may be other variables due to the kind of lens, but that is where I would start.
Sam in Northfield, MN
A day without beer......could have been better :p :D :p
Mark V 500 - S/N 100990, Mark V 510 - S/N missing, SS Band Saw, SS 6" Belt Sander, SS 4" Jointer, SS Scroll Saw, SS DC3300
bffulgham
Gold Member
Posts: 459
Joined: Tue Aug 21, 2007 9:18 am
Location: Amarillo, TX area

Post by bffulgham »

You can most likely "do the math" by looking at the file (detail) properties of the .jpg file.
[url=D:\UserData\Bud\My Documents\WoodWorking\Bin\BigPrint\help\menus.html]BigPrint[/url] works like a charm and very well worth the minor $$ investment.
I use it fairly frequently. Have been able to come up with really close dimensions after taking a picture of a piece of furniture somewhere with something of known dimensions in the picture....my cap for example.
Bud F.
1998 Mark V 510 bought used 2006, Jointer, 2 Bandsaws, ca 1960 Yuba SawSmith RAS
Projects and "stuff": http://www.bfulgham.com/JAlbum/Woodworking_Index/
keakap
Platinum Member
Posts: 1331
Joined: Tue Jan 16, 2007 5:09 pm
Location: Kailua, Hawaii

Post by keakap »

dusty wrote:If I have a photograph of something that I know to be 20' long and I know the pixel size of the photo frame, can I determine the dimensions of items in that photograph by scaling (using the pixel count)?
Usually works in TCad, should work in Sketchup I would think.
If your picture is pretty much straight-on (like for a 20' piece the camera should be 57' or more away).
What works best for me is to find something within the whole pic that is very clearly defined and whose size I can know independently, and scale to that (use the Calculator function). Often the outer edges of the Whole (esp. when 20' wide) are hard to zero in on.
Mark V 520, Power-Pro!; Speed Reducer; B/S; Jointer; ShopMate DCS; SS Tenon Master; Rip-Strate; Incra; BCTW; DW734; var. SS sanding systems; Wood River;
Post Reply