You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, May 26th 2014, 6:27am

Is there a way to calculate distance from KRPano viewer?

I'm not sure where I should this, but it might related to some coding so I decided to ask in this forum

At this time, my superior is curious whether how can she calculate the distance from point A to point B of the viewer in Metres or Inches (or by some measurement unit). For example, the image below describe my question





I'm not sure whether there are any plugin that can help to calculate this or I need to write my own algorithms to solve this problem.

Thanks for the answer :)

2

Tuesday, May 27th 2014, 8:27am

Unfortunately the answer is no! There is no way to calculate the distance between two points in panoramas. How should krpano know the real world-scaling and proportions of any objects on your photos?! All you could do is embedding these kind of informations into a database to use and show them inside krpano.

3

Tuesday, May 27th 2014, 10:46am

So, just as I thought

Actually, after having playing with KRPano for a while, I already thought that this is impossible to do.....



But because my superior forced me to find the way so I have no other choice but asking someone first to find the proof and fact to defend against their theory.....

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

4

Thursday, May 29th 2014, 10:28pm

That image could be a street, a mountain range or the center of a chess board. You would need stereo panoramas to work out the actual distance.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

5

Friday, May 30th 2014, 6:27am

Hi!
you can calculate distance between some objects only.
For example, if you put hotspot at the far end of street "A" and one hotspot close "B"
then you can calculate distance between these hotspots.
But you need to set some additional attributes to hotspot
altitude and longitude for example
or some different coordinates
Then calculation will be possible.

Regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

6

Sunday, June 1st 2014, 11:17pm

rather than have a measuring tool, you could add little points, perhaps hotspots or on the pano itself using photoshop that illustrates the scale. You would have to measure the distance of course but it might give a sense of scale...

Umalo

Professional

Posts: 1,048

Location: Osijek, Croatia, EU

  • Send private message

7

Thursday, June 5th 2014, 4:14pm

Already all sad but if your point A and point B latitude and longitude know you can make calculations.

Don't think that any other scaling or other ways are possible as content of the images is not important afaik.

jordi

Intermediate

Posts: 481

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

8

Monday, October 16th 2017, 5:27pm

I think this is totally possible, we just need to know the distance to the ground from the camera, that way you can know if you have a

Quoted

street, a mountain range or the center of a chess board
everpano.com step beyond 360

Tuur

Sage

Posts: 3,190

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

9

Tuesday, October 17th 2017, 1:50pm

Hi,

i have this perfectly working. With two pano's though.

Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

jordi

Intermediate

Posts: 481

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message

10

Tuesday, October 17th 2017, 5:03pm

Why with 2 panos ?

if you just want to make ground level measures it should work with a single image , when you know the height of the camera from the ground.

I'm thinking of the equations that allows me a good precision, point line plane like kandinsky style ;)

PD: I know with 2 panos you can get the volume of every object, not only the ground.
Can you show some sample ?
everpano.com step beyond 360