verticalphotoplacer / VerticalPhotoPlacer

A free open source plugin for QGIS that performs quick placement of vertical drone photos on map.
GNU General Public License v3.0
28 stars 16 forks source link

No worldfile generated #3

Open ninsbl opened 2 years ago

ninsbl commented 2 years ago

I am trying to place images from A DJI Mavic 2 on a map.

Unfortunately, using "quickview" no worldfile is produced.

And I get the following message:

Notice : No worldfile generated. Common reasons are: 
             1. The photos does not contain heading and altitude information.
             2. The camera sensor is not supported. 

These are the my available Exif tags:

exiftool DJI_0542.DNG
ExifTool Version Number         : 12.40
Now                             : 2022:04:05 10:24:49+02:00
New GUID                        : 20220405-1024-4900-7058-0CAE36C81DA5
File Sequence                   : 0
File Name                       : DJI_0542.DNG
Base Name                       : DJI_0542
Directory                       : .
File Path                       : C:\system\Drone_foto\DNG\DJI_0542.DNG
File Size                       : 40 MiB
Zone Identifier                 : Exists
File Modification Date/Time     : 2022:03:29 16:21:08+02:00
File Access Date/Time           : 2022:04:05 10:24:49+02:00
File Creation Date/Time         : 2022:03:28 21:55:54+02:00
File Permissions                : -rw-rw-rw-
File Attributes                 : Regular; (none); Archive
File Device Number              : 0
File Inode Number               : 0
File Hard Links                 : 1
File User ID                    : 0
File Group ID                   : 0
File Device ID                  : 0.0
File Block Size                 :
File Block Count                :
File Type                       : DNG
File Type Extension             : dng
MIME Type                       : image/x-adobe-dng
Exif Byte Order                 : Little-endian (Intel, II)
Subfile Type                    : Reduced-resolution image
Image Width                     : 160
Image Height                    : 112
Bits Per Sample                 : 8 8 8
Compression                     : JPEG
Photometric Interpretation      : YCbCr
Make                            : Hasselblad
Camera Model Name               : L1D-20c
Preview Image Start             : 45450
Orientation                     : Horizontal (normal)
Samples Per Pixel               : 3
Preview Image Length            : 27835
Software                        : 10.00.12.07
Modify Date                     : 2020:10:27 11:12:38
Subfile Type                    : Full-resolution image
Image Width                     : 5568
Image Height                    : 3648
Bits Per Sample                 : 16
Compression                     : Uncompressed
Photometric Interpretation      : Color Filter Array
Strip Offsets                   : 924221
Samples Per Pixel               : 1
Rows Per Strip                  : 3648
Strip Byte Counts               : 40624128
Planar Configuration            : Chunky
CFA Repeat Pattern Dim          : 2 2
CFA Pattern 2                   : 0 1 1 2
CFA Plane Color                 : Red,Green,Blue
CFA Layout                      : Rectangular
Black Level Repeat Dim          : 2 2
Black Level                     : 4096 4093 4093 4094
White Level                     : 65535
Default Scale                   : 1 1
Default Crop Origin             : 4 4
Default Crop Size               : 5464 3640
Bayer Green Split               : 0
Anti Alias Strength             : 1
Best Quality Scale              : 1
Active Area                     : 0 96 3648 5568
Opcode List 3                   : GainMap, WarpRectilinear
Default User Crop               : 0 0 1 1
Subfile Type                    : Reduced-resolution image
Image Width                     : 960
Image Height                    : 640
Bits Per Sample                 : 8 8 8
Compression                     : JPEG
Photometric Interpretation      : YCbCr
Preview Image Start             : 73285
Samples Per Pixel               : 3
Rows Per Strip                  : 640
Preview Image Length            : 850936
Planar Configuration            : Chunky
Y Cb Cr Coefficients            : 0.299 0.587 0.114
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Y Cb Cr Positioning             : Co-sited
Reference Black White           : 0 255 128 255 128 255
About                           : DJI Meta Data
Modify Date                     : 2017:09:14
Create Date                     : 2017:09:14
Make                            : DJI
Camera Model Name               : Test_Pro
Format                          : image/dng
GPS Latitude                    : 61.071796 N
GPS Longitude                   : 11.194675 E
Absolute Altitude               : +628.92
Relative Altitude               : +0.60
Gimbal Roll Degree              : +0.00
Gimbal Yaw Degree               : +5.70
Gimbal Pitch Degree             : -33.30
Flight Roll Degree              : -1.30
Flight Yaw Degree               : +17.70
Flight Pitch Degree             : +3.70
Cam Reverse                     : 0
Gimbal Reverse                  : 0
Self Data                       : DJI Self data
Version                         : 7.0
Has Settings                    : False
Has Crop                        : False
Already Applied                 : False
Exposure Time                   : 0.6
F Number                        : 11.0
Exposure Program                : Manual
ISO                             : 100
Exif Version                    : 0230
Date/Time Original              : 2020:10:27 11:12:38
Create Date                     : 2020:10:27 11:12:38
Exposure Compensation           : 0
Max Aperture Value              : 2.8
Metering Mode                   : Center-weighted average
Light Source                    : Cloudy
Flash                           : No Flash
Focal Length                    : 10.3 mm
File Source                     : Digital Camera
Scene Type                      : Directly photographed
Exposure Mode                   : Manual
White Balance                   : Manual
Digital Zoom Ratio              : 1
Focal Length In 35mm Format     : 28 mm
Scene Capture Type              : Standard
Gain Control                    : None
Contrast                        : Normal
Saturation                      : Normal
Sharpness                       : Hard
Serial Number                   : 0K8TG9U0126705
Lens Info                       : 28mm f/2.8-11
GPS Version ID                  : 2.3.0.0
GPS Latitude Ref                : North
GPS Latitude                    : 61.071796
GPS Longitude Ref               : East
GPS Longitude                   : 11.194675
GPS Altitude Ref                : Above Sea Level
GPS Altitude                    : 628 m
DNG Version                     : 1.4.0.0
DNG Backward Version            : 1.3.0.0
Unique Camera Model             : Hasselblad L1D-20c
Color Matrix 1                  : 1.2385 -0.7159 -0.0657 -0.0982 1.0352 0.0721 0.0457 0.0241 0.7437
Color Matrix 2                  : 0.731 -0.2746 -0.0646 -0.2991 1.0847 0.2469 0.0163 0.0585 0.6324
Analog Balance                  : 1 1 1
As Shot Neutral                 : 0.3058542413 1 0.6701570681
Baseline Exposure               : 0
Baseline Noise                  : 1
Baseline Sharpness              : 1
Linear Response Limit           : 1
Camera Serial Number            : 0K8TG9U0126705
Shadow Scale                    : 1
DNG Private Data                : (Binary data 19829 bytes, use -b option to extract)
Calibration Illuminant 1        : Standard Light A
Calibration Illuminant 2        : D65
Profile Name                    : Embedded
Profile Hue Sat Map Dims        : 18 6 1
Profile Hue Sat Map Data 1      : (Binary data 3408 bytes, use -b option to extract)
Profile Hue Sat Map Data 2      : (Binary data 3439 bytes, use -b option to extract)
Profile Embed Policy            : Allow Copying
Noise Profile                   : 8.108e-005 6e-008
Original Default Final Size     : 0 0
Original Best Quality Size      : 0 0
Original Default Crop Size      : 0 0
Aperture                        : 11.0
CFA Pattern                     : [Red,Green][Green,Blue]
Image Size                      : 5568x3648
Megapixels                      : 20.3
Preview Image                   : (Binary data 27835 bytes, use -b option to extract)
Preview Image                   : (Binary data 850936 bytes, use -b option to extract)
Scale Factor To 35 mm Equivalent: 2.7
Shutter Speed                   : 0.6
GPS Altitude                    : 628 m Above Sea Level
GPS Latitude                    : 61.071796 N
GPS Longitude                   : 11.194675 E
Base Name                       : DJI_0542
Circle Of Confusion             : 0.009 mm
File Extension                  : DNG
File Type Description           : Digital Negative
Field Of View                   : 65.5 deg
Focal Length                    : 10.3 mm (35 mm equivalent: 28.0 mm)
GPS Position                    : 61.071796 N, 11.194675 E
Hyperfocal Distance             : 1.06 m
Light Value                     : 7.7
Big Image                       : (Binary data 850936 bytes, use -b option to extract)
Processing Time                 : 0.0377 s

I had a look at adding the camera to thr camlist.xml but could not figure out what to place where. Any help would be very much appreciated...

I can provide sample data if that helps fixing the issue...

chuc92man commented 2 years ago

Hi, If you are using version 0.2, these information should be fine. It seems like you were trying to load .DNG photos which is currently not supported due to the big size. Normally with DJI drones, there will be JPEG files coming with the DNG files. I guess the JPEG files will be loaded.

ninsbl commented 2 years ago

Thanks for the swift reply. After converting to JPG the georeferencing still failed. After a bit of trouble shooting it seems the issue has been that I only had one image in my directory....

chuc92man commented 2 years ago

Were you able to load some photos? One photo in folder may not be a problem. If possible, could you send me your photo?

YuryZammit commented 1 year ago

Hi, I am having a similar problem with jpg images from a DJI drone. Would appreciate your help.