creating the lens data file manually

 

Hello Aximmetry


As the new lens cali has no focus variation feature for now, I think if there's a tool to put the lens data by manual.

We from time to time got ask for creating wide lens data file who has tracking devices without lens distortion transmission feature and I got a stypekit which can create lens file and it can export as .txt file.

I think there's enough information for lens data and it would be great if it is applicable to Aximmetry.

This file has center shift and also cali -table with 7-steps of zoom and 2-steps of focus.

Wonder how you guys think.

Regards


Bruce

   brucekim

 
Profile Image
Eifert@Aximmetry
  -  

Hi Brucekim,

It is likely that Stypekit sends the lens data with the tracking data. In that case, you just need to make sure that you didn't turn off External Lens Data:

So when External Lens Data is turned On, Aximmetry will use the sent the lens data.

Otherwise, you can provide manual lens data like this: https://my.aximmetry.com/post/612-lens-calibration-with-calibrate-x-in-axim 
You can look into the Lens_Distort_Vanishing.xcomp compound to see how lens data is being used or parsed.

Warmest regards,

 
Profile Image
brucekim
  -  

Thanks a lot for your kind response.

And for my next step, is it possible to get the json sample file?

I believe that would be much helful.

Regards

 
Profile Image
Eifert@Aximmetry
  -  

Hi Brucekim,

Here is an example JSON lens data:

{
"frameHeight": 1920,
"frameWidth": 1080,
"fx": 561.997914,
"fy": 561.585651,
"cx": 664.16411,
"cy": 361.97667,
"k1": 0.142792,
"k2": 0.022846
}

Just save that in a text file and change the extension of the file from txt to json. And then it can work with the Lens_Distort_Vanishing.xcomp compound.

Warmest regards,

 
Profile Image
brucekim
  -  

Many Thanks!

;