# Distortion parameters and the calculation methods

**URL:** <https://forums.unrealengine.com/t/distortion-parameters-and-the-calculation-methods/2005198>\
**Category:** Asset Creation\
**Tags:** realityscan, question\
**Created:** [September 4, 2024, 3:29pm UTC](https://forums.unrealengine.com/t/distortion-parameters-and-the-calculation-methods/2005198 "2024-09-04T15:29:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hemanth0806](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hemanth0806](https://forums.unrealengine.com/u/Hemanth0806)\
**Post date:** [September 4, 2024, 3:29pm UTC](https://forums.unrealengine.com/t/distortion-parameters-and-the-calculation-methods/2005198/1 "2024-09-04T15:29:45Z")

</div>

Hi, I am currently working with Reality Capture to obtain camera calibration values, specifically the intrinsic parameters and distortion coefficients. However, I have encountered some discrepancies when applying these distortion values in my calculations.

In my workflow, I project a 3D point onto the image plane, compute the undistorted pixel coordinates, and then reapply the distortion to obtain the pixel coordinates in the raw image. While my calculations have been verified using simulation software like Blender, the results do not align when using the distortion values obtained from Reality Capture.

I have reviewed the documentation and was not able to find any calculation process for distortion in Reality Capture. Could someone please provide information on the camera model and the distortion calculation process used in Reality Capture for the parameters provided by the software?

Additionally, I see that the calibration results given by RC (distortion coefficients) vary significantly each time I do the alignment with the same images and calibration settings. Did anyone experience this before?

Thanks for your time!

---

<div class="post-metadata">

**Author:** ![OndrejTrhan](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ondrejtrhan/32/906565_2.png) [@OndrejTrhan](https://forums.unrealengine.com/u/OndrejTrhan)\
**Post date:** [September 5, 2024, 6:26am UTC](https://forums.unrealengine.com/t/distortion-parameters-and-the-calculation-methods/2005198/2 "2024-09-05T06:26:01Z")

</div>

Hi @Hemanth0806  
The mentioned process can be find here: [https://dev.epicgames.com/community/learning/knowledge-base/vzwB/capturing-reality-realitycapture-xmp-camera-math](https://dev.epicgames.com/community/learning/knowledge-base/vzwB/capturing-reality-realitycapture-xmp-camera-math)
