Qoocam 8K lens optimization (template creation) for perfect alignment and eliminating distortions

155 views
Skip to first unread message

Pavel Desort

unread,
Jul 3, 2021, 12:06:18 PM7/3/21
to PTGui Support
Hello and apologies for asking the same thing as before.
I have my camera Kandao Qoocam 8K back from service center and I expect the camera needs another template tailored to changed lens aligment. In the link below I have created two projects where one had two photos 90 degrees from each other and in the second project I have removed one photo as per guidelines I have found on this forum (it did asked me to run optimizer which I had to, not sure on this step).

I would kindly ask for help in creating template for one photo from this camera with corrected distortions. And also if I can use bracketed shot (HDR )from the same template?

PS: Still wonder why the final resolution is higher than 8K from Qoocam Studio software (7680x3840). PTgui creates pano with 8530x4265


Much appreciated

Pavel

John Houghton

unread,
Jul 4, 2021, 4:58:43 AM7/4/21
to pt...@googlegroups.com
On Sat, Jul 3, 2021 at 5:06 PM Pavel Desort <pavel...@gmail.com> wrote:
I would kindly ask for help in creating template for one photo from this camera with corrected distortions. And also if I can use bracketed shot (HDR )from the same template?

Pavel, Try the attached template.  It won't work for HDR sets, but you could, of course, merge the images before stitching. 

John
template-jh.pts

Pavel Desort

unread,
Aug 25, 2021, 3:39:44 PM8/25/21
to PTGui Support
Hello John, I have played around your template but cant figure out how to apply to my other panos, somehow there are stitching issues. I have tried now to stitch manually using control points and I must have changed some lens settings (Gigapixel AI from Topaz Labs somehow removed all exif lens information) but I got almost perfect stitch, only problem  is the global fish eye distortion.
Could you please have a look what settings I did wrong? Each lens is showing different focal lens although its a Kandao Qoocam 8K with identical lenses.
Where could I read up about the use of lens profile and image parameters? Any workflow I could follow?
Kind Regards
Pavel

KDRaw_Q360_20210706_170746_00001H-gigapixel-lines-scale-2_00x.ZIP

John Houghton

unread,
Aug 26, 2021, 5:16:08 AM8/26/21
to PTGui Support
Pavel, The template I produced was designed to be applied to a project after loading in the camera images (complete with exif data).  The state of the project is different when you have added the images without exif data since they are not recognised as dual image types.  You are going to have parallax problems anyway in a small room.  Optimizing lens parameters is dangerous when you don't have control points spread across the wide expanse of the image circle and only at the extreme edges, as in your project.  Odd distortions are likely to occur, as you have found.  No optimization was required for the original template file - it's just apply template and generate the output.  

John


John Houghton

unread,
Aug 26, 2021, 10:17:02 AM8/26/21
to PTGui Support
On Wednesday, August 25, 2021 at 8:39:44 PM UTC+1 pavel...@gmail.com wrote:

Where could I read up about the use of lens profile and image parameters?

Pavel, You could read this old guide to the optimizer for general hints:  http://www.johnhpanos.com/optitute.htm .  I wrote it in 2006, when PTGui was just a front end GUI  for the original suite of Panorama Tools developed by Helmut Dersch.   PTGui has changed a lot since then, and no longer makes use of Panorama Tools.  Nevertheless, the basics of optimization haven't changed much, though there are few parameter name changes that should be mentioned:  eg. lens parameters d and e have become the horizontal and vertical shift shift parameters, and control points type t1 and t2 are now the vertical line and horizontal line types.  Lens profiles have been introduced to facilitate the handling of mixed lens types in a project.

Alternatively (or additionally), there is a much shorter guide (also old!) in the PanoTools Wiki at https://wiki.panotools.org/Optimization .

John
Reply all
Reply to author
Forward
0 new messages