You are not logged in.

Dear visitor, welcome to 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.


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 :)


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.


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,855

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message


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 ::

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message


Friday, May 30th 2014, 6:27am

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.

VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread


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...



Posts: 1,048

Location: Osijek, Croatia, EU

  • Send private message


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.



Posts: 507

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message


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


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



Posts: 3,337

Location: Netherlands

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

  • Send private message


Tuesday, October 17th 2017, 1:50pm


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

Tuur *thumbsup*



Posts: 507

Location: Barcelona

Occupation: creating ideas & coding them

  • Send private message


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 ? step beyond 360