Reading exif data from DJI Phantom Pro 4

1,039 views
Skip to first unread message

håkan fröjdh

unread,
Jun 25, 2018, 6:02:40 PM6/25/18
to PTGui Support
Hi!
Ptgui doesn't recognize the pan/tilt/roll data from the exif that the DJI Phantom 4 Pro V2 produces. 
The labeling in the exif seems to be the same for Phantom 4 and Phantom Pro 4 V2
.
The pan/tilt/roll info is there when I check it with the exiftool and it would help me and ptgui (I guess?) when taking photos over water and when I run into tricky parts with no obvious patterns.
Ptgui has problems over water (understandable) and it dumps all the unassigned pictures in one spot, it would be nice to get them correctly positioned using pan/tilt/roll so I can add control points more easily.

Here's the output from the exif tool:

ExifTool Version Number         : 11.03
File Name                       : PANO0004.JPG
Directory                       : C:/Users/hakan/Desktop/panorama/100_0157
File Size                       : 6.6 MB
File Modification Date/Time     : 2018:06:23 15:57:28+02:00
File Access Date/Time           : 2018:06:23 16:14:03+02:00
File Creation Date/Time         : 2018:06:23 16:14:03+02:00
File Permissions                : rw-rw-rw-
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Image Description               : DCIM\PANORAMA\100_0157\PAN
Camera Model Name               : FC6310S
Orientation                     : Horizontal (normal)
X Resolution                    : 72
Y Resolution                    : 72
Resolution Unit                 : inches
Software                        : v01.08.1664
Modify Date                     : 2018:06:23 15:57:29
Y Cb Cr Positioning             : Centered
Exposure Time                   : 1/400
F Number                        : 5.6
Exposure Program                : Program AE
ISO                             : 100
Exif Version                    : 0230
Date/Time Original              : 2018:06:23 15:57:28
Create Date                     : 2018:06:23 15:57:28
Components Configuration        : -, Cr, Cb, Y
Compressed Bits Per Pixel       : 2.667730696
Shutter Speed Value             : 1/400
Aperture Value                  : 5.6
Exposure Compensation           : 0
Max Aperture Value              : 2.8
Subject Distance                : 0 m
Metering Mode                   : Center-weighted average
Light Source                    : Fine Weather
Flash                           : No flash function
Focal Length                    : 8.8 mm
Warning                         : [minor] Possibly incorrect maker notes offsets
 (fix by 1783?)
Make                            : DJI
Speed X                         : +0.00
Speed Y                         : +0.00
Speed Z                         : +0.00
Pitch                           : +6.70
Yaw                             : -43.30
Roll                            : -3.70
Camera Pitch                    : +24.80
Camera Yaw                      : -43.10
Camera Roll                     : +0.00
Flashpix Version                : 0010
Color Space                     : sRGB
Exif Image Width                : 5472
Exif Image Height               : 3648
Interoperability Index          : R98 - DCF basic file (sRGB)
Interoperability Version        : 0100
Exposure Index                  : undef
File Source                     : Digital Camera
Scene Type                      : Directly photographed
Custom Rendered                 : Normal
Exposure Mode                   : Auto
White Balance                   : Auto
Digital Zoom Ratio              : undef
Focal Length In 35mm Format     : 24 mm
Scene Capture Type              : Standard
Gain Control                    : None
Contrast                        : Normal
Saturation                      : Normal
Sharpness                       : Normal
Subject Distance Range          : Unknown
Serial Number                   : xxx
GPS Version ID                  : 2.3.0.0
GPS Latitude Ref                : North
GPS Longitude Ref               : East
GPS Altitude Ref                : Above Sea Level
XP Comment                      : Type=N, Mode=P, DE=None
XP Keywords                     : v01.08.1664;1.2.0;v1.0.0
Compression                     : JPEG (old-style)
Thumbnail Offset                : 10240
Thumbnail Length                : 9941
About                           : DJI Meta Data
Format                          : image/jpg
Absolute Altitude               : +43.85
Relative Altitude               : +18.80

Here's the interesting parts!
/***********************************************************/
Gimbal Roll Degree              : +0.00
Gimbal Yaw Degree               : -43.10
Gimbal Pitch Degree             : +24.80
/***********************************************************/

Flight Roll Degree              : -3.70
Flight Yaw Degree               : -43.30
Flight Pitch Degree             : +6.70
Cam Reverse                     : 0
Gimbal Reverse                  : 0
Self Data                       : Undefined
Calibrated Focal Length         : 3666.666504
Calibrated Optical Center X     : 2736.000000
Calibrated Optical Center Y     : 1824.000000
Rtk Flag                        : 0
Version                         : 7.0
Has Settings                    : False
Has Crop                        : False
Already Applied                 : False
MPF Version                     : 0010
Number Of Images                : 2
MP Image Flags                  : Dependent child image
MP Image Format                 : JPEG
MP Image Type                   : Large Thumbnail (VGA equivalent)
MP Image Length                 : 274191
MP Image Start                  : 6685124
Dependent Image 1 Entry Number  : 0
Dependent Image 2 Entry Number  : 0
Image UID List                  : (Binary data 66 bytes, use -b option to extrac
t)
Total Frames                    : 1
Image Width                     : 5472
Image Height                    : 3648
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
Aperture                        : 5.6
GPS Altitude                    : 43.8 m Above Sea Level
GPS Latitude                    : 61 deg xxxx N
GPS Longitude                   : 17 deg xxxx E
GPS Position                    : 61 deg xxxx N, 17 deg xxxx E
Image Size                      : 5472x3648
Preview Image                   : (Binary data 274191 bytes, use -b option to ex
tract)
Megapixels                      : 20.0
Scale Factor To 35 mm Equivalent: 2.7
Shutter Speed                   : 1/400
Thumbnail Image                 : (Binary data 9941 bytes, use -b option to extr
act)
Circle Of Confusion             : 0.011 mm
Field Of View                   : 73.7 deg
Focal Length                    : 8.8 mm (35 mm equivalent: 24.0 mm)
Hyperfocal Distance             : 1.26 m
Light Value                     : 13.6

/hakan

PTGui Support

unread,
Jun 26, 2018, 12:52:53 AM6/26/18
to pt...@googlegroups.com
Hi Håkan,

I'm sorry, PTGui currently doesn't read the gimbal data. It's on the
wish list though.

If your shooting pattern is the same, you could apply a template (just
use a previous stitched panorama).

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To post to this group, send email to pt...@googlegroups.com
> <mailto:pt...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/ptgui.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/a551456b-99cb-4166-ab47-c3c46b708be6%40googlegroups.com
> <https://groups.google.com/d/msgid/ptgui/a551456b-99cb-4166-ab47-c3c46b708be6%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

håkan fröjdh

unread,
Jun 27, 2018, 5:27:01 PM6/27/18
to PTGui Support
Thanks for the tip about using templates, solved the problem!
/hakan

PTGui Support

unread,
Jul 1, 2019, 3:25:27 AM7/1/19
to pt...@googlegroups.com
This is now implemented, PTGui 11.14 can read the gimbal data from
images from DJI drones.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

On 6/27/2018 23:27, håkan fröjdh wrote:
> Thanks for the tip about using templates, solved the problem!
> /hakan
>
> Den tisdag 26 juni 2018 kl. 06:52:53 UTC+2 skrev PTGui Support:
>
> Hi Håkan,
>
> I'm sorry, PTGui currently doesn't read the gimbal data. It's on the
> wish list though.
>
> If your shooting pattern is the same, you could apply a template (just
> use a previous stitched panorama).
>
> Kind regards,
>
> Joost Nieuwenhuijse
> www.ptgui.com <http://www.ptgui.com>
> > an email to ptgui+un...@googlegroups.com <javascript:>
> > <mailto:ptgui+un...@googlegroups.com <javascript:>>.
> > To post to this group, send email to pt...@googlegroups.com
> <javascript:>
> > <mailto:pt...@googlegroups.com <javascript:>>.
> > Visit this group at https://groups.google.com/group/ptgui
> <https://groups.google.com/group/ptgui>.
> <https://groups.google.com/d/msgid/ptgui/a551456b-99cb-4166-ab47-c3c46b708be6%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "PTGui Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ptgui+un...@googlegroups.com
> <mailto:ptgui+un...@googlegroups.com>.
> To post to this group, send email to pt...@googlegroups.com
> <mailto:pt...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/ptgui.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ptgui/23b87560-fcdc-4925-80e7-2490aac009c3%40googlegroups.com
> <https://groups.google.com/d/msgid/ptgui/23b87560-fcdc-4925-80e7-2490aac009c3%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages