Lens calibration file

 

Can anyone tell me what format the lens calibration data needs to be in for a tracking camera? Or can anyone send me an example file?

Thanks

John




   WiseProductions

 
Profile Image
Ahmed@Aximmetry
  -  

Dear Jhon,

Some tracking systems, like Stype, Mo-sys, Trackmen, NCam provide their own lens calibration system, and always send all the FOV and lens distortion data along with the camera position, according to the current zoom state of the lens. In this case, you do not have to select any further option.

Other tracking systems only provide camera position data. In this case, Aximmetry’s own Camera Calibrator application has to be used to produce the lens data for each camera. This is discussed in separate documentation. When all the data is produced, you can select an appropriate lens data file for each tracking device using the Mode column in the Device Mapper.


Check these two documents for more details:

https://aximmetry.com/wiki/index.php?title=Basic_Lens_Calibration_(without_lens_distortion)

https://aximmetry.com/wiki/index.php?title=Setting_Up_Virtual_Sets_with_Tracked_Cameras#Zoom_Device

 
Profile Image
WiseProductions
  -  

Thanks Ahmed,


I'm using Antilatency for the camera tracking, so have no lens tracking from that, and we're using the Pro version of Aximmetry so don't seem to have the Camera Calibrator application. I've played with a Lens Distortion Module, and I can get a pretty good result from that, but can't work out how to inject that into the camera path with the tracked camera module. Or I can generate lens data from other tools I have, but I need to know the format the Lens data file wants to be able to write that.


Thanks

John

 
Profile Image
steki0
  -  

would be great if the Pro version had the lens calibration tool, see it comes up alot in discussions with those having the Pro licence. Broadcast still offers a whole lot more, maybe one more part could be dropped down to the lower tier... maybe ... ?

 
Profile Image
Zoltan@Aximmetry
  -  

Hi John,

If you want a calibration for a fixed zoom position you can use Vanishing Point's Calibrate X software.

It writes the result into a JSON file. We have a helper compound called Lens_Distort_Vanishing that can reads it up.
Wire it as follows:

Specify the generated JSON file for this module.

Then put your INPUT in Manual Lens mode.

    

That's it.

 
Profile Image
Het Nieuwe Kader
  -  

 I followed the exact steps mentioned above, but the result is pretty weird. It distorts the video input again but leaves the unreal scene as it is, which I think is the wrong way around. Can you guys point me in the right direction? 

Thanks in advance! <3




 
Profile Image
Eifert@Aximmetry
  -  

Hi,

Make sure you have the correct Camera Selected:

If it is so, the Unreal Scene should be distorted according to it.

Note, you can still change the zoom with Manual Zoom if Manual Lens is turned on:


If it is still not working, can you share with us what is in your XML or JSON file?

Warmest regards,