[Kde-imaging] [kipiplugins] [Bug 346053] Add PhotoSphere projection support (EquiRectangular)

Benjamin Girault benjamin.girault at nebux.org
Tue May 12 13:45:27 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=346053

--- Comment #14 from Benjamin Girault <benjamin.girault at nebux.org> ---
(In reply to Gilles Caulier from comment #13)
> >Gilles: The projection is one thing, but not the only possible culprit. Have you checked the >projection in the pto files like I suggested?
> 
> No, because in commented code, i don't see any lines about this operation.

There is indeed no commented code for this, but it's a really simple thing to
do. For example, for autoOptimisePtoData, you can add something like
kDebug() << d->mngr->autoOptimisePtoData().project.projection;
at line 304 of importwizard/optimizepage.cpp.

> >I somehow doubt that a very mature piece of software like Hugin generates a not "real >equirectangular projection", especially for such a basic projection. 
> 
> And Hugin support this kind of projection as it's written in documentation.
> This is not the problem. The real question is how to activate it with CLI
> tools.

Like I said, activating the equirectangular is done through the pto file (hugin
project file), and already taken care of in the code. Every option to generate
a given panorama is within the associated pto file. The parameters to the CLI
tools are only controlling how to modify the pto files.

> >My strongest suspect at the moment is the field of view, rather than the projection. Google's >3D viewer assume by default that the FOV is 360x180. That means that the projection is a >rectangle and the horizontal span is 360° and the vertical span 180°. If it's not, the 3D viewer >tries anyway and the panorama does not show correctly. In that case, several key XMP fields >have to be set with the correct panorama size (it were a 360x180), FOV, and crop (at least). >This is the complex part of setting the Show Photo XMP metadata correctly, and maybe the >reason I deactivated the code (I slowly begin to remember the complexity of the task).
> 
> So in first, i must to try with a 360° pano. I have some sample at home.

Yes, this is ideal. (Actually, it should be a 360x180 panorama, not just 360.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kde-imaging mailing list