mistic100 / Photo-Sphere-Viewer

A JavaScript library to display 360° sphere panoramas.
https://photo-sphere-viewer.js.org
MIT License
1.93k stars 686 forks source link

fisheye - not good-looking fisheye view - how to minimize it? #277

Closed marcinzmyslowski closed 5 years ago

marcinzmyslowski commented 5 years ago

Question: How to eliminate not good-looking fisheye view from my 360 panorama photo? Here is a link: http://www.kolekcja.zmyslowski.pl/index.php?id_page=otworz&nazwa_galerii=2019-03-31+-+lot+dronem+na+cmentarzem+w+Osielsku+na+ul+Lawendowej+10+-+panorama+sferyczna+2&widok=pojedyncze

Is it possible with your API or how to minimize this fisheye effect? This drone photo is not fisheye, so I don`t know why it presents as fisheye. Maybe it is possible to present this photo as it is, I mean without curved horizon.

Kindest regards Marcin

mistic100 commented 5 years ago

The horizon must be in the center of the image, your's is not http://www.kolekcja.zmyslowski.pl/zdjeciagooglepicasa/o118736.jpg

You must manually edit it with a photo manipulation software, PhotoSphereViewer cannot correct this.

mistic100 commented 5 years ago

It looks like your photo has been cropped on the top, equirectangular images must have 2:1 ratio, you can add white on the top to do so.

mistic100 commented 5 years ago

You can also provide cropping data, it looks good with a 900px top offset (but it's filled with black). Use this page to test it out https://photo-sphere-viewer.js.org/crop.html#playground