追è¨ï¼
ãã®ãããªæ
å ±ãããã¾ããã
http://gpsrsgis.seesaa.net/article/441683778.html
===
ç¾æç¹ï¼2016.3.3ï¼ã§ã®ãã¡ã¼ã ã¦ã§ã¢ã§ã¯Phantom3ã§æ®å½±ããç»åã®EXIFã«è¨é²ãããé«åº¦ã«ã¯ããGPS Altitudeãã¨ãRelative Altitudeãã®äºç¨®é¡ããã¾ãã
ãGPS Altitudeãã¯ãGPSã§æ¸¬ä½ããæ¨é«æ¥åä½é«ã§ç²¾åº¦ã¯ãã¾ãè¯ããªãããã§ãã
ãRelative Altitudeãã¯ãæ°å§ã»ã³ãµã¼ã«ãã対å°é«åº¦ã§ã精度ã¯ãGPS Altitudeããããè¯ãããã§ãã
â»ãGPS Altitudeãã¯ãæ¨é«å¤ã¨ãã¦ã®ç²¾åº¦ã¯è¯ããªãã§ããããã©ã¤ãä¸ã®ç¸å¯¾çãªãã©ã¤ãã¯ãå°ãªãã®ããããã¾ããï¼åããã¾ããï¼ã
Photoscanã§ã¯ãé«ãã®å¤ã¯ãGPS Altitudeããåç
§ãããã®ã§ãåºæ¥ä¸ããã®é«ãï¼æ¨é«å¤ï¼ããºã¬ã¦ãã¾ãã¾ãã
ãã®ãããexiftoolã使ã£ã¦EXIFæ
å ±ï¼é«ãï¼ãè£æ£ããæ¹æ³ãç´¹ä»ãã¾ãã
â»Photoscanã®Camera CalibrationâGPS/INS Offsetãå©ç¨ãããã°è£æ£ã§ããã®ããããã¾ããããè¯ããããã¾ããã
1. exiftoolã®ãã¦ã³ãã¼ã
ãããããã¦ã³ãã¼ããã¾ãã
http://www.sno.phy.queensu.ca/~phil/exiftool/
ã³ãã³ãçµäºæã«Enterãæ¼ããªãã¦ãè¯ãããã«ãã¡ã¤ã«åã以ä¸ã®ããã«å¤æ´ãã¦ããã¾ãã
exiftool(-k).exeâexiftool.exe
2. é«åº¦ã®ç¢ºèª
ã³ãã³ãããã³ããã§ä»¥ä¸ã®ããã«æã¤ã¨ãEXIFæ å ±ã確èªã§ãã¾ãã
exiftool.exe DJI_0001.JPG
æç²
About : DJI Meta Data Format : image/jpg Absolute Altitude : +3.27 Relative Altitude : +51.60 Gimbal Roll Degree : +0.00 Gimbal Yaw Degree : -65.10 Gimbal Pitch Degree : -89.90 Flight Roll Degree : +0.30 Flight Yaw Degree : -65.30 Flight Pitch Degree : +0.90 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 : 273323 MP Image Start : 4512084 Dependent Image 1 Entry Number : 0 Dependent Image 2 Entry Number : 0 Image UID List : (Binary data 66 bytes, use -b option to extract) Total Frames : 1 Image Width : 4000 Image Height : 3000 Encoding Process : Baseline DCT, Huffman coding Bits Per Sample : 8 Color Components : 3 Y Cb Cr Sub Sampling : YCbCr4:2:2 (2 1) Aperture : 2.8 GPS Altitude : 3.2 m Above Sea Level GPS Latitude : 35 deg 23' 59.25" N GPS Longitude : 139 deg 16' 58.14" E GPS Position : 35 deg 23' 59.25" N, 139 deg 16' 58.14" E Image Size : 4000x3000
対å°é«åº¦ï¼Relative Altitudeï¼ã51.6mãªã®ã«æ¨é«å¤ï¼GPS Altitudeï¼ã3.2mã«ãªã£ã¦ãã¾ã£ã¦ãã¾ãã
3. GPS AltitudeãRelative Altitudeã«å¤æ´
以ä¸ã®ã³ãã³ããæã£ã¦ãimagesãã©ã«ãã«å ¥ã£ã¦ããJPGãã¡ã¤ã«ã®GPS Altitudeã®å¤ããRelative Altitudeã®å¤ã«å¤æ´ãã¾ãããªããgpsaltituderefã®å¤ã¯0ã ã¨æ¨é«å¤ããã©ã¹ã1ã ã¨æ¨é«å¤ããã¤ãã¹ã表ãã®ã§ãå¾®å¦ãªå ´æãé£è¡ãããå ´åã¯ãåå¥ã«èãã¦ãã ããã
â»ãã¡ã¤ã«ã¯ä¸æ¸ãæ´æ°ããããã«ãã¦ããã®ã§ããããããã³ãã¼ãã¦ãããæ¹ãè¯ãããããã¾ããã
for %i in (images\*.JPG) do exiftool %i -s -s -s -RelativeAltitude | exiftool -overwrite_original %i "-GPSAltitude<=-" -gpsaltituderef#=0
4. GPS Altitudeï¼Relative Altitudeã®å¤ãå ¥ã£ã¦ããï¼ã«ãªãã»ãããå ãã
Relative Altitudeã®å¤ã¯å¯¾å°é«åº¦ãªã®ã§ããããæ¨é«å¤ã«å¤æããããã«ãé£ã°ãå§ãã®æ¨é«å¤ãå ãã¾ãã
ããã§ã¯ãä¾ã¨ãã¦10mãå ãã¦ãã¾ãã
for %i in (images\*.JPG) do exiftool %i -overwrite_original -GPSAltitude+=10
以ä¸ã§ãã
ææ³
ã©ããã2015å¹´ã®11æããã®ãã¡ã¼ã ã¦ã§ã¢ã®æ´æ°ã§ãEXIFã®GPS Altitudeã®å¤ãã対å°é«åº¦ããæ¨é«ï¼æ¥åä½é«ï¼ï¼ï¼ã«å¤æ´ã«ãªã£ãããã§ããï¼ãã¼ã¸ä¸ã®è¿½è¨ã®ãã¼ã¸ãåç
§ãã ããï¼
ãã®ä½æ¥ããããã¨ã«ãã£ã¦ãåºæ¥ä¸ããã®ç²¾åº¦ã«ã©ãé¢ä¿ããã®ãã¨ããGCPã§ã®è£æ£ãCamera Calibrationã§ã®Offsetæå®ãªã©ã¨ã®é¢ä¿ããæ¤è¨¼ãã¦ãªãã®ã§è¯ããããã¾ãããããã®ãããã®æ
å ±ãããã°ã誰ãæãã¦ä¸ããï¼
m(_ _)m