DJI Mavic, Air and Mini Drones
Friendly, Helpful & Knowledgeable Community
Join Us Now

How can i calibrate my mavic for Lens Distortion Calibration

abbas

Member
Joined
Nov 6, 2023
Messages
13
Reactions
2
Age
36
Location
Pak
Hello there i am developing android app using dji's msdk and my baseline use-case is to stream video to computer.
well for now what issue i am facing is that i need to get encoded raw video frames from drone but to get it LensDistortionCalibration should be done i have calibrated drone 2 time but still same results.

Here it says that it isLensDistortionCalibrationNeeded should return false to get raw frames so can anyone help me on how i can calibrate lens distortion ?
 
  • Like
Reactions: RCFlyer
Do you need This: ??

Parameter​

value​

SD​

Unit​
f​
10.26mm​
Exif mm​
fx​
4479.94​
2.26513​
f in px​
fy​
4374.51​
2.15679​
cx​
2727.48​
0.813274​

principal point px​
cy​
1811.92​
0.719281​
skew​
-1.91657​
0.0843506​
k1​
-0.0196948​
0.00126486​

Radial distortion​
k2​
0.00652119​
0.010933​
k3​
0.0909295​
0.0368218​
p1​
0.000237354​
2.27565e-005​
Tangential distortion​
p2
0.00108494​
3.73953e-005​
 
  • Like
Reactions: abbas
Thanks for reply but i need was to know if there is any calibration routine for drone so that i can call it in my app and fix the problem programmatically.
One solution that i have found is that dji provides external anti-distortion library for same scanerio now i am exploring it.
 
  • Like
Reactions: Cafguy
Thanks for reply but i need was to know if there is any calibration routine for drone so that i can call it in my app and fix the problem programmatically.
One solution that i have found is that dji provides external anti-distortion library for same scanerio now i am exploring it.
Would that be DJI TERRA by any chance? This does automatically recognise specific DJI camera profiles and offers an 'undistortion' switch, so somewhere in a subfolder there will be dat files containing factory accurate distortion correction parameters.... Hmmmm..... definitely worth a look.
 
Would that be DJI TERRA by any chance? This does automatically recognise specific DJI camera profiles and offers an 'undistortion' switch, so somewhere in a subfolder there will be dat files containing factory accurate distortion correction parameters.... Hmmmm..... definitely worth a look.
No i am using Dji's android Sdk
 

DJI Drone Deals

New Threads

Members online

Forum statistics

Threads
136,117
Messages
1,613,630
Members
164,696
Latest member
dave1967
Want to Remove this Ad? Simply login or create a free account