{"id":1831,"date":"2017-09-06T23:06:21","date_gmt":"2017-09-06T23:06:21","guid":{"rendered":"http:\/\/blogs.lincoln.ac.nz\/gis\/?p=1831"},"modified":"2023-05-07T03:41:08","modified_gmt":"2023-05-07T03:41:08","slug":"droning-on","status":"publish","type":"post","link":"https:\/\/blogs.lincoln.ac.nz\/gis\/droning-on\/","title":{"rendered":"Droning on&#8230;"},"content":{"rendered":"<p><em>This post covers some of the outputs from LU&#8217;s new Unmanned Aerial Vehicle, or drone.<\/em><\/p>\n<p>The university recently acquired a new unmanned aerial vehicle (UAV), or as they&#8217;re more commonly known, a drone.\u00a0 It&#8217;s an eight-rotor <a href=\"https:\/\/altusintelligence.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Altus<\/a> Delta with three sensors: a high-spec Sony camera, a Sequioa multispectral sensor, and a WIRS thermal camera.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Bird.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1832\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Bird.jpg\" alt=\"\" width=\"752\" height=\"500\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Bird.jpg 752w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Bird-300x199.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Bird-330x220.jpg 330w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" \/><\/a><\/p>\n<p>That&#8217;s the thermal camera hanging off the bottom in this picture.\u00a0 (We haven&#8217;t named this bird yet; any suggestions?)\u00a0 With these sensors we can capture a wide variety of data so in this post I&#8217;ll give you an overview of what we can expect to get out of the system.\u00a0 Over the past few weeks, Don Royds, Majeed Safa and myself have been learning how to use the system by flying around the Bert Sutcliffe Oval:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/oval.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1833\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/oval.jpg\" alt=\"\" width=\"500\" height=\"752\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/oval.jpg 500w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/oval-199x300.jpg 199w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>With the Sony camera we can capture video and stills, like this one:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/highview.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1841\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/highview.jpg\" alt=\"\" width=\"1500\" height=\"1000\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/highview.jpg 1500w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/highview-300x200.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/highview-1024x683.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/highview-768x512.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/highview-330x220.jpg 330w\" sizes=\"auto, (max-width: 1500px) 100vw, 1500px\" \/><\/a><\/p>\n<p>Nice, but from a GIS perspective, the oblique image above isn&#8217;t much use on its own.\u00a0 But the stills become quite valuable when the camera is pointing straight down because from them we can derive some very useful data.\u00a0 What we basically do is program a flight plan for the UAV to cover an area in a systematic way and capture images as it goes.\u00a0 Here&#8217;s an picture showing the flight path in yellow and the places where photos were taken as blue dots.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/flightpath.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1848\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/flightpath.jpg\" alt=\"\" width=\"862\" height=\"479\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/flightpath.jpg 862w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/flightpath-300x167.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/flightpath-768x427.jpg 768w\" sizes=\"auto, (max-width: 862px) 100vw, 862px\" \/><\/a><\/p>\n<p>After the flight, we can post-process these images to get an orthomosaic, which basically stitches together all the separate images (40 in this case) into one with the extra added benefit of correcting distortions due to changes in elevation.\u00a0 Here&#8217;s a look at all the images in Windows Explorer:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/allimages.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1851\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/allimages.jpg\" alt=\"\" width=\"1159\" height=\"539\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/allimages.jpg 1159w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/allimages-300x140.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/allimages-1024x476.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/allimages-768x357.jpg 768w\" sizes=\"auto, (max-width: 1159px) 100vw, 1159px\" \/><\/a><\/p>\n<p>An issue we often run into with aerial photos (and satellite images to a lesser extent) is distortion based on ground heights.\u00a0 Consider two equally sized objects, one at the top of a hill and the other at the bottom of a valley.\u00a0 Because the one on the hill is closer to the camera, it will <em>appear<\/em> larger than the one at the bottom of a valley.\u00a0 There&#8217;s not much relief in the area we were flying but in areas with lots of elevation change, this distortion can be quite significant.\u00a0 If elevation data are available, the image can be &#8220;corrected&#8221; to take this into account &#8211; the result is an ortho-corrected image.\u00a0 When multiple corrected images are stitched together, we have an orthomosaic, which can then be treated as if it were a map.<\/p>\n<p>As an example, below is an image of the orthomosaic that came out of our recent flights (from an average height of about 80 m):<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ortho.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1835\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ortho.jpg\" alt=\"\" width=\"708\" height=\"632\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ortho.jpg 708w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ortho-300x268.jpg 300w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/a><\/p>\n<p>You can just make us out at the top of the image on the roadway onto the pitch.\u00a0 Better still, here&#8217;s a <a href=\"http:\/\/lincolngis.maps.arcgis.com\/home\/webscene\/viewer.html?layers=0d06a7a4d729444ba3dc2fd34980af87\" target=\"_blank\" rel=\"noopener noreferrer\">3D version<\/a> that you can rotate and zoom in and out of &#8211; nice (you may need to open this in Chrome &#8211; it doesn&#8217;t work for me in Firefox).<\/p>\n<p>This image alone is pretty useful.\u00a0 It gives us a high resolution image of an area of our choice.\u00a0 But that&#8217;s not all we can get out of this.\u00a0 We also get the information we need to correct the images: a DEM and a DSM.\u00a0 DEMs you&#8217;re probably familiar with &#8211; raster grids of elevation.\u00a0 DEMs are often said to be &#8220;bare earth&#8221; rasters as they only show the ground surface, not the trees or buildings, or things on the surface of the ground (you might also see them referred to as DTMs &#8211; Digital Terrain Models).\u00a0 Here&#8217;s a peak at the DTM in ArcMap &#8211; note the elevations in the legend &#8211; they range from 2.80087 m to 6.17135 m:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/DTM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1836\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/DTM.jpg\" alt=\"\" width=\"1408\" height=\"712\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/DTM.jpg 1408w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/DTM-300x152.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/DTM-1024x518.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/DTM-768x388.jpg 768w\" sizes=\"auto, (max-width: 1408px) 100vw, 1408px\" \/><\/a><\/p>\n<p>A quick note about those elevations &#8211; the data were captured in WGS84, so latitude and longitude.\u00a0 The elevations are the<a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/and-standing-up-straight\/\"> height above the WGS84 ellipsoid<\/a> rather than the ones we might be more familiar with from topo maps.\u00a0 If we <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/how-to-be-in-two-or-more-places-at-once\/\" target=\"_blank\" rel=\"noopener noreferrer\">project these data to NZTM<\/a> that will shift the elevations as well.\u00a0 We can also derive a DSM (Digital Surface Model) which will give us the elevations for the buildings and trees and features sitting on the ground.\u00a0 Here&#8217;s a view of the DSM shown as a <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/a-shady-topic-hillshade-layers\/\" target=\"_blank\" rel=\"noopener noreferrer\">hillshade<\/a>:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/dsmhillshade.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1852\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/dsmhillshade.jpg\" alt=\"\" width=\"1341\" height=\"611\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/dsmhillshade.jpg 1341w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/dsmhillshade-300x137.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/dsmhillshade-1024x467.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/dsmhillshade-768x350.jpg 768w\" sizes=\"auto, (max-width: 1341px) 100vw, 1341px\" \/><\/a><\/p>\n<p>In this one we can see the cricket pavilion and a few other taller features with some good definition.\u00a0\u00a0 If you&#8217;re sitting down, I&#8217;ll tell you the resolution (pixel size) of these rasters: roughly 0.07 m!!\u00a0 That&#8217;s stunning!\u00a0 I fell out of my chair (well, off my Swiss ball) when I saw that.\u00a0 While that sort of resolution is amazing, as a next step we will need to get a handle on just how accurate these values are.<\/p>\n<p>When you think about it it&#8217;s pretty amazing that we&#8217;ve gotten elevations from just these images.\u00a0 How does that work?\u00a0 We have the process of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Structure_from_motion\" target=\"_blank\" rel=\"noopener noreferrer\">structure from motion<\/a> to thank for this.\u00a0 This photogrammetric technique takes advantage of multiple overlapping images to derive elevations.\u00a0 We have a built in structure from motion capability in our heads that allows us to discern three dimensional structure given our stereo vision, and the post-processing does a similar thing.\u00a0 With the UAV knowing where it is (via GPS), those dimensions can be related to real-world datums, giving them true proportions.<\/p>\n<p>Here&#8217;s a <a href=\"http:\/\/lincolngis.maps.arcgis.com\/home\/webmap\/viewer.html?webmap=242d67be45754c5fb33b05d05ad64287\" target=\"_blank\" rel=\"noopener noreferrer\">web map<\/a> that brings these layers all together.<\/p>\n<p>But wait, that&#8217;s not all &#8211; in addition to a DTM, DSM and orthomosaic, we also get a LAS point cloud, similar to what we might get out of <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/lidar-data-thousands-of-tiny-luminous-spheres\/\">LiDAR data<\/a>.\u00a0 Here&#8217;s an image of the point cloud as a LAS dataset in ArcScene (north is to the top of the data):<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/pointcloud.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1845\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/pointcloud.jpg\" alt=\"\" width=\"1339\" height=\"760\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/pointcloud.jpg 1339w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/pointcloud-300x170.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/pointcloud-1024x581.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/pointcloud-768x436.jpg 768w\" sizes=\"auto, (max-width: 1339px) 100vw, 1339px\" \/><\/a><\/p>\n<p>In this one you can see the line of trees and make out the shape of the pavilion.\u00a0 The LAS dataset has well over seven million points in it (!).<\/p>\n<p>We haven&#8217;t had much of a chance to work with the multispectral or thermal data yet, but once we&#8217;ve have I will get an update out there.\u00a0 While we are just at the beginning of how to best use the UAV, it&#8217;s pretty clear that we can gather some useful data for a range of interests at the university.\u00a0 There&#8217;s still a ways to go before we&#8217;ve perfected our flying and our processing, but we&#8217;re off to a good start.<\/p>\n<p>In the meantime, drone on&#8230;<\/p>\n<p>C<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post covers some of the outputs from LU&#8217;s new Unmanned Aerial Vehicle, or drone. The university recently acquired a new unmanned aerial vehicle (UAV), or as they&#8217;re more commonly known, a drone.\u00a0 It&#8217;s an eight-rotor Altus Delta with three sensors: a high-spec Sony camera, a Sequioa multispectral sensor, and a WIRS thermal camera. That&#8217;s [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1831","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/comments?post=1831"}],"version-history":[{"count":1,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1831\/revisions"}],"predecessor-version":[{"id":4130,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1831\/revisions\/4130"}],"wp:attachment":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/media?parent=1831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/categories?post=1831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/tags?post=1831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}