Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Anyone any good with Trigonometry??

Author
Message
L3mmy
15
Years of Service
User Offline
Joined: 19th Jun 2009
Location: England, Sheffield
Posted: 31st Mar 2013 23:40
As the title says, A while a go I lost a portion of a map i'm making, and I have a picture or two...and a measurement for parts of it..but I got no idea how to get the rest of the measurements I need..

www.monsterwareltd.co.uk/imagehost <-- Image Hosting for your pictures
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 1st Apr 2013 02:13
A more detailed explanation might allow us to help you.

"everyone forgets a semi-colon sometimes." - Phaelax
mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 1st Apr 2013 13:11
Take a look at the following Metric Ruler.



The larger lines with numbers are centimeters, and the smallest lines are millimeters. Since millimeters are 1/10th of a centimeter, if you measure 7 marks after a centimeter, it is 1.7 centimeters long.

*** Merry Chuckmas! ***
L3mmy
15
Years of Service
User Offline
Joined: 19th Jun 2009
Location: England, Sheffield
Posted: 1st Apr 2013 15:04
Did you actually just post that? >_< ..never mind I'll figure it out.

www.monsterwareltd.co.uk/imagehost <-- Image Hosting for your pictures
mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 1st Apr 2013 15:17 Edited at: 1st Apr 2013 15:19
Well, mr. pickypants, if you don't like a Metric Ruler, take a look at the following Electronic Map Measurer.





*** Merry Chuckmas! ***
L3mmy
15
Years of Service
User Offline
Joined: 19th Jun 2009
Location: England, Sheffield
Posted: 1st Apr 2013 15:53
Thats all good if the maps 2D from above and I had one of those..but the picture is 3d. so it's getting smaller further away.



All I know (as it's my standard procedure) Roads are 50'. Pavements are 20'..so 90' from edge to edge of pavements

=(

www.monsterwareltd.co.uk/imagehost <-- Image Hosting for your pictures
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 1st Apr 2013 17:51
You're not saying what you need.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 1st Apr 2013 18:02
He said. 20 + 50 is not 90, that's the problem.

*** Merry Chuckmas! ***
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 1st Apr 2013 18:03 Edited at: 1st Apr 2013 18:04
20+20+50 = 90

That is true.

If you're trying to find the lengths of those red lines - I'd give up. The level of math you're going to need to take into account perspective is just silly, I certainly couldn't do it.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
TheComet
17
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 1st Apr 2013 18:10
Well, if you know the inverse projection matrix...

TheComet


Level 91 Forumer - 9600 health, 666'666 keystroke power (*2 coffee)
Abilities: sophisticated troll, rage
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 1st Apr 2013 18:17
I'll leave that in your hands then.


They see me coding, they hating. http://indi-indicium.blogspot.co.uk/
mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 1st Apr 2013 18:34 Edited at: 1st Apr 2013 18:50
Quote: "20+20+50 = 90"

Busted!

I can only say that all that road stuff is not a clock, it's not precise thing. You need to google car and bus dimensions and add some extra space.

If you need to reconstruct that scene, you need to draw a grid with a perspective, a photoshop can do that easily.

*** Merry Chuckmas! ***
RUCCUS
20
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 1st Apr 2013 18:41
He needs to reconstruct the actual 3D model, and to do this he needs detailed measurements of everything in the picture.

It mightve been somewhat possible if it was all on one flat level, but you've got hills and curves that up the complexity way too much. You're just going to have to re-model it, it doesn't look like there is that much detail in it anyways, you'll be fine.
L3mmy
15
Years of Service
User Offline
Joined: 19th Jun 2009
Location: England, Sheffield
Posted: 1st Apr 2013 19:12
Ruccus..I hate to say it..and i've been denying it for a couple of days...but your right =( Remodel it shall be then..

Mr handy there is plenty of space..This is a picture with a bus on the same road measurements..(in a layby lol)

Drove round there fine..thats why I kept it standard measurements for myself..



I might beable to use the photo as a matched picture background and scale what part I do have to fit the image and get somewhat close..

www.monsterwareltd.co.uk/imagehost <-- Image Hosting for your pictures
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 1st Apr 2013 22:40
I mean, doing inverse projection stuff would be annoying, and of course there isn't enough information to reconstruct the 3D data exactly. (It's possible in theory, but what our brains use to determine depth is subtle angle stuff as well as shading/normal/texture data, basically, it's intractable [for us] to program it to solve a problem like this [even though software some day somewhere, maybe today, would be able to do it, it's probably not around yet and it's probably not freeware and it's probably difficult to set up and it's probably not very accurate :p ])

But, the idea of a projection is that the width on-screen is proportional to the distance. So, if the width at some point is 10 pixels, and the width of something which should be the same size at another point is 5 pixels wide, then the object is twice as far away. So you can actually hold a ruler up to your screen (or better yet use some tool, maybe GIMP, that allows you to draw a line and record the length of it), and then find ratios of sides to figure out ratios of distances.

Of course, this isn't completely accurate because the drawing may change in height or depth along the line that you're measuring, but if the lines you're measuring are mostly horizontal (so that the depth is approximately the same all along the line) and the lines you're measuring don't have much vertical rise, you should get pretty accurate results.

RUCCUS
20
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 2nd Apr 2013 00:12
There is an old trick for constructing a 3D grid in perspective that I learned in my college years. Essentially if you have the ability to get two grid squares that are touching and of equal size, you can expand the grid by first finding the vanishing point(s) by continuing the lines into the distance and then drawing lines through the corners of the squares.









This took me all of 5 minutes (which is why it isn't precise but you get the idea). With this technique, as long as you know the dimensions of one grid square then you're able to get relatively accurate measurements of things. Extending into the vertical axis takes a bit more time but this is the only technique I can think of to get the data you need from a single image. The issue with your original image however is that the angle the image was taken at causes there to be an extremely distance vanishing point, so you'd need to have quite a large canvas to do the technique.
mr Handy
17
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 2nd Apr 2013 08:37
Like I was said. Very good tutorial, RUCCUS!

*** Merry Chuckmas! ***

Login to post a reply

Server time is: 2025-05-15 16:03:35
Your offset time is: 2025-05-15 16:03:35