Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Sonntag, 19. Juni 2011, 05:18

Parameters to correct perspective error?

Hi forum,

I’ve made an elevated pano with a handmade pole, and after stitching and retouching with PS
some strong perspective errors, mainly because of bad quality pole, I found out that the horizon
sea line is curved when seen at krpano viewer (the retouched equirectangular looks ok) …

Is there any krpano settings, like pitch values or something like that, that I can
include in XML code in order to correct this distortion when playing the pano?

Viewer’s image of this area of the pano:

HansNyb

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

3

Sonntag, 19. Juni 2011, 09:52

RE: Parameters to correct perspective error?

Hi forum,

I’ve made an elevated pano with a handmade pole, and after stitching and retouching with PS
some strong perspective errors, mainly because of bad quality pole, I found out that the horizon
sea line is curved when seen at krpano viewer (the retouched equirectangular looks ok) …

Is there any krpano settings, like pitch values or something like that, that I can
include in XML code in order to correct this distortion when playing the pano?

Viewer’s image of this area of the pano: index.php?page=Attachment&attachmentID=537


This is because you stitched your image wrong and your horizont is not on the centre line of your equirectangular image.
It may be because you added the nadir in a wrong way.
It can easy be adjusted in photoshop with some stretching and then you have to edit the nadir again.

Hans

4

Sonntag, 19. Juni 2011, 16:27

I thought that it could be easier to correct with viewer parameters,
I’ve tried with that “prealign” attribute, that gave me different start positions
and view angles, but the distortion persists, because as Hans said the horizon
was clearly above the centre line of my equirectangular.

I ‘ve stretched the image in PS with transform tool to take the horizon back
to the centre, and being the distortion not that big I didn’t even had to edit the nadir.

Thanks for your answers gentlemen.

panomaster

Fortgeschrittener

Beiträge: 297

Wohnort: Kobyłka, Poland

Beruf: Virtual Tours - Spherical Panoramas - Krpano developer

  • Nachricht senden

5

Montag, 20. Juni 2011, 08:57

Some time ago Klaus added voffset param of image tag and this is exactly what you need. I'm not sure if it woks with all panorama fomats. It certainly works with equirectangular format.

http://www.krpano.com/docu/xml/#image.voffset
http://www.krpano.com/docu/xml/#image.vfov

panomaster

Fortgeschrittener

Beiträge: 297

Wohnort: Kobyłka, Poland

Beruf: Virtual Tours - Spherical Panoramas - Krpano developer

  • Nachricht senden

6

Montag, 20. Juni 2011, 09:05

BTW - if your panorama is spherical (360x180) and horizon is a wavy, It could also mean that you have to straighten your panorama. It is possible to straighten even final panorama (equirectangular) in PTGui so there's no need to stitch the panorama from scratch.

7

Montag, 20. Juni 2011, 12:44

Thank you Leszek, according to attribute's description "voffset" seems to be what
I was looking for originally.
I've tried out some values but horizon keeps the same curved, I just noticed kind of
waving or bouncing when playing along the pano ... anyway I've already solven the
problem taking horizon to center with PS as they told me.
I take note of "voffset" and see if I can make it work for me in the future,
I fear I will need it again as long as I don't change this crappy pole.

Raul.

panomaster

Fortgeschrittener

Beiträge: 297

Wohnort: Kobyłka, Poland

Beruf: Virtual Tours - Spherical Panoramas - Krpano developer

  • Nachricht senden

8

Montag, 20. Juni 2011, 13:07

Setting voffset is a good way to correct panorama if it has straight horizon but not lying in the middle of the image. If it is a wavy it need to be straighten. It's almost not possible to make straight panorama with a pole,and it usually have to be straighten in stitcher. If you send me your panorama I'll try to straight it for you.

HansNyb

Profi

Beiträge: 1 063

Wohnort: Denmark

Beruf: Photographer

  • Nachricht senden

9

Dienstag, 21. Juni 2011, 13:26

Some time ago Klaus added voffset param of image tag and this is exactly what you need. I'm not sure if it woks with all panorama fomats. It certainly works with equirectangular format.


From what I can see this is only supposed to work with partial spherical panoramas. Not Equirectangular. And of course that makes sense. You can not change the center without it will have effect on zenith and nadir.

Hans

10

Samstag, 25. Juni 2011, 13:43

Hi,

the voffset setting will work on all spherical and cylindrical panos, also on 360x180 panos but there it doesn't make much sense (but it can be funny to play with the settings )

note - the in 1.0.8.14 version of the options plugin you can play with/change the voffset setting interactively (and also the other hfov/vfov image settings),

here a screen shot:


e.g. try it on that partial pano here:
http://krpano.com/krpano.html?pano=panos…sseum_vorne.xml

best regards,
Klaus