Again, thanks so much for your answers,
Besides semantics (*"correct"* should have been read as *"desired 
projection"*...) but what I still don't understand is the use of pto_gen 
--projection option then. Whatever projection I choose in pto_gen results 
in Equirectanguilar on the project.
I totally understand why the option exists in the command (and the need for 
users to wish different projections), but what I do not understand is why 
if I set it one way, the project is not set with the "desired", or 
"specified" projection set in the command. 
Or am I wrong in expecting to have a file with the panorama projection set 
to rectilinear using *pto_gen --projection= 0*?
And the question is if that is not the purpose of the otption... what is 
the usage then?

On Sunday, September 4, 2022 at 10:59:23 AM UTC-7 T. Modes wrote:

> [email protected] schrieb am Sonntag, 4. September 2022 um 19:35:38 
> UTC+2:
>
>>
>> *Pto_gen sets the projection (aka lens type) of the individual images*
>
> But it would be best if the project was created correctly from the 
>> start... Otherwise what is the point of having the --projection=* option in 
>> pto_gen? 
>>
> Thanks for the response, but still makes no sense.
>> All of the images are read as rectilinear (f0) but the project is 
>> generated as equirectangular no matter what.
>>
>  
> You are mixing things. There are 2 different projections used in the 
> workflow.
> * Each input image has an projection which describes the lens type of the 
> used lens - this is set with pto_gen --projection=
> * The remapped panorama has its own projection. This is independent of the 
> projection/lens type of the input images and describes the remapping of the 
> final pano. This is set by pano_modify --projection=..
>
> Okay, during writing my answer you added more questions.
>
> > But it would be best if the project was created correctly from the 
> start... 
> Define "correct"! There are several different use cases and each one needs 
> a different output projection. So there is no single correct one. E.g. take 
> the use case of a simple panorama by rotating the camera. In this case  
> equirectangular is probably the best choice of start. But as I already 
> wrote this can be easily changed with pano_modify.
>
> >Otherwise what is the point of having the --projection=* option in 
> pto_gen? 
> Not everybody is using a rectilinear lens. Some are using fisheye lenses 
> or want to remap equirectangular images. This information needs to be added 
> to the project file and therefore this pto_gen option is needed. Only when 
> *you* don't need this option, it is not superfluous.
>
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/c6524e1c-415d-472b-8f4f-adbe0ff8e3e9n%40googlegroups.com.

Reply via email to