{"id":1574,"date":"2017-03-01T01:21:34","date_gmt":"2017-03-01T01:21:34","guid":{"rendered":"http:\/\/blogs.lincoln.ac.nz\/gis\/?p=1574"},"modified":"2023-05-07T00:49:52","modified_gmt":"2023-05-07T00:49:52","slug":"waiho-scanning","status":"publish","type":"post","link":"https:\/\/blogs.lincoln.ac.nz\/gis\/waiho-scanning\/","title":{"rendered":"What Do Cave Orcs and Riverbeds Have in Common?"},"content":{"rendered":"<p><em>In this post we look at how a hand-held laser scanner is being used in the water lab to capture high-resolution elevation data of a scale model of the Waiho River.<\/em><\/p>\n<p>Lincoln has a long history of using physical models of to study gravel bed river systems, and the West Coast&#8217;s Waiho River in particular.\u00a0 At the moment, we&#8217;ve got a postgrad, Rose Beagley, doing just that (and working with <a href=\"http:\/\/www.geol.canterbury.ac.nz\/People\/davies.shtml\" target=\"_blank\" rel=\"noopener\">Tim Davies<\/a> from Canterbury University).<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/IMG_20170302_095809745_HDR.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1591\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/IMG_20170302_095809745_HDR.jpg\" width=\"394\" height=\"700\" \/><\/a><\/p>\n<p>For many years now, the Waiho River has been rapidly aggrading, and large floods threaten to overtop the existing stopbanks, putting a holiday park, amongst other things (like Franz Josef township, <a href=\"http:\/\/m.nzherald.co.nz\/nz\/news\/article.cfm?c_id=1&amp;objectid=11700883\" target=\"_blank\" rel=\"noopener\">as if they didn&#8217;t have enough to worry about..<\/a>.), at high risk.\u00a0 (And Tim would happily tell you that the stopbanks have created the problem.)\u00a0 Rose is interested in looking at the long term effects of potential new stopbank and highway alignments and a 1:3,000 scale physical model is just the ticket.\u00a0 With a physical model, we can experiment with a range of different configurations without spending much money or time and no one ends up in danger.\u00a0 The image below shows the area of interest &#8211; Rose&#8217;s model covers the area from the true right side of the Waiho (the Franz side) and out to the furthest-out set of yellow\/white broken lines:<\/p>\n<figure id=\"attachment_1578\" aria-describedby=\"caption-attachment-1578\" style=\"width: 1378px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/WaihoMap.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1578 size-full\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/WaihoMap.jpg\" width=\"1378\" height=\"866\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/WaihoMap.jpg 1378w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/WaihoMap-300x189.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/WaihoMap-1024x644.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/WaihoMap-768x483.jpg 768w\" sizes=\"auto, (max-width: 1378px) 100vw, 1378px\" \/><\/a><figcaption id=\"caption-attachment-1578\" class=\"wp-caption-text\"><em>Photo courtesy of Rose Beagley<\/em><\/figcaption><\/figure>\n<p>The model itself is pretty simple.\u00a0 To get the braiding effects we see on gravel bed rivers, all one really needs to do is let sediment laden water run out over a sloped surface and, with enough time, braiding just naturally occurs.\u00a0 And the basic idea is that what happens on the scale of the <a href=\"https:\/\/www.google.co.nz\/maps\/place\/Rakaia+River\/@-43.6795236,171.8426351,10982m\/data=!3m1!1e3!4m5!3m4!1s0x6d2ddbc9ffa2157b:0x2a00ef86ab64e0c0!8m2!3d-43.5871346!4d171.7440914\" target=\"_blank\" rel=\"noopener\">Rakaia River<\/a> (or the <a href=\"https:\/\/www.google.co.nz\/maps\/place\/Brahmaputra+River,+Assam+783330,+India\/@25.9688275,89.7891335,108198m\/data=!3m1!1e3!4m5!3m4!1s0x3758729ff56344ad:0xeef24fca63b35d60!8m2!3d26.0708776!4d90.1354586\" target=\"_blank\" rel=\"noopener\">Brahmaputra<\/a> for that matter) is the same as what happens on the scale of a small flow of water running over Sumner Beach, or a model in the water lab (sounds very <a href=\"https:\/\/www.youtube.com\/watch?v=gEw8xpb1aRA\" target=\"_blank\" rel=\"noopener\">fractal<\/a>, you might say.\u00a0 I wouldn&#8217;t disagree).\u00a0 Here&#8217;s what Rose&#8217;s model looks like:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/IMGP1968-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1584\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/IMGP1968-2.jpg\" alt=\"\" width=\"2835\" height=\"1594\" \/><\/a><\/p>\n<p>Water and sediment are mixed together at the top of the model (the far end of the image) and then flow downslope within the confines of the polystyrene walls (which simulate the natural landform boundaries of the floodplain).<\/p>\n<p>Using riverbed elevation data is an effective way of comparing the results of different scenarios.\u00a0 In the old days, data were collected by placing a graduated beam across the model and measuring the distance from the beam down to the riverbed surface at regular intervals, say every 10 cm or so: time consuming, prone to error and very low resolution.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/IMG_20170302_095717419_HDR.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1592\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/IMG_20170302_095717419_HDR.jpg\" alt=\"\" width=\"3264\" height=\"1836\" \/><\/a><\/p>\n<p>Several years back, we purchased a hand-held laser scanner from an outfit in town, Applied Reseach Associates NZ (<a href=\"http:\/\/www.aranz.co.nz\/\" target=\"_blank\" rel=\"noopener\">ARANZ<\/a>).\u00a0 The early Weta Workshop had used their gear to scan in scale models of things like cave orcs and then animate those models to great effect in the Lord of the Rings movies.<\/p>\n<figure id=\"attachment_1581\" aria-describedby=\"caption-attachment-1581\" style=\"width: 500px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/CAVEORC.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1581 size-full\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/CAVEORC.jpg\" width=\"500\" height=\"386\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/CAVEORC.jpg 500w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/CAVEORC-300x232.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-1581\" class=\"wp-caption-text\"><em>http:\/\/www.hollywoodjesus.com\/lotr_fellowship_making.htm<\/em><\/figcaption><\/figure>\n<p>We thought we could do the same thing with our scale models.\u00a0 The system is similar to <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/lidar-data-thousands-of-tiny-luminous-spheres\/\" target=\"_blank\" rel=\"noopener\">LiDAR <\/a>in that it uses a laser to capture the elevations.\u00a0 The laser is mounted in the middle of a &#8220;wand&#8221; with two video cameras mounted on the wings.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/IMGP1975-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1579\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/IMGP1975-2.jpg\" alt=\"\" width=\"2835\" height=\"1594\" \/><\/a><\/p>\n<p>The cameras capture the laser beam striking the surface and can take those images and determine how far away from a fixed point that location is.\u00a0 With the aid of radio transmitters linking all the components together, the collected points fit into a 3-D coordinate system\u00a0 that&#8217;s accurate to +\/- 1 mm: perfect for our purposes.<\/p>\n<p>To make this all work, Rose first runs the model for a period of time so that it gets to some equilibrium.\u00a0 Here&#8217;s a short movie of the model in action (21 seconds):<\/p>\n<p><iframe loading=\"lazy\" title=\"WaihoModelRunning\" width=\"900\" height=\"506\" src=\"https:\/\/www.youtube.com\/embed\/DBbUk6J_kco?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n<p>When enough time has elapsed, she turns off the water and sand (because the laser beam will be absorbed by the water rather than reflected and then starts her scanning.\u00a0 In the short video (42 sec) below you can see the points captured on on screen as she goes &#8211; what we get out of this step is a &#8220;cloud of points&#8221;, each with an X, Y and Z coordinate.<\/p>\n<p><iframe loading=\"lazy\" title=\"FastScan\" width=\"900\" height=\"506\" src=\"https:\/\/www.youtube.com\/embed\/hgTQiA-nlKk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n<p>Here&#8217;s a close up of the actual data collected on screen.\u00a0 You can easily a lot of the detail of individual channels:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/FastScanGrab.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1577\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/FastScanGrab.jpg\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/FastScanGrab.jpg 1366w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/FastScanGrab-300x169.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/FastScanGrab-1024x576.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/FastScanGrab-768x432.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/FastScanGrab-1200x675.jpg 1200w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/a><\/p>\n<p>From the capture software she can then export the data in a format that&#8217;s easily imported into ArcGIS (a DXF file to be exact).\u00a0 Most of her large scans have up to 900,000 points, so these are not insignificant datasets.\u00a0 Once converted over to a shapefile, we&#8217;re ready to create the digital elevation models (DEMs).\u00a0 What we want to end up with is a raster elevation grid based on the point cloud so to go from vector points to raster grid cells we have to use the <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/3d-analyst\/an-overview-of-the-interpolation-tools.htm\">interpolation tools<\/a> in ArcGIS.\u00a0 There are a range of possible tools and for this project Rose has been using the <a href=\"http:\/\/desktop.arcgis.com\/en\/arcmap\/10.3\/tools\/spatial-analyst-toolbox\/natural-neighbor.htm\">Natural Neighbors (sic)<\/a> tool.\u00a0 At this scale, most methods will return very similar results so we haven&#8217;t stressed out too much on the exact tool used.\u00a0 So here&#8217;s an example output from a scan.\u00a0 On the left is an interpolated DEM.\u00a0 On the right is a hillshade of that grid:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/NN-and-HS.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1585\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/NN-and-HS.png\" alt=\"\" width=\"938\" height=\"604\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/NN-and-HS.png 938w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/NN-and-HS-300x193.png 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/NN-and-HS-768x495.png 768w\" sizes=\"auto, (max-width: 938px) 100vw, 938px\" \/><\/a><\/p>\n<p>The hillshade layer simulates the fall of shadows over the surface to help us better see the detail fo the terrain.<\/p>\n<p>So, job done for now.\u00a0 After capturing the data at this point in time, Rose switches the model back on and lets it run for a few more hours and then repeats scans all over again.\u00a0 In this way, she builds up snapshots in time of how the riverbed is evolving.\u00a0 To better appreciate the differences between time steps, a simple raster calculation allows us to see which areas of the bed have eroded, which have stayed the same, and which have aggraded.\u00a0 And all it takes is simply subtracting one grid from another.\u00a0 With a bit of colour coding we can then easily see which areas of the bed have been changed and in which direction.\u00a0 The image below shows the sequence of steps from 1) interpolated DEM from scanned points, 2) the hillshade layer, 3) polygons used to clip out the bed area of interest, 4) the clipped grid and 5) the resulting subtraction grid (green is areas of erosion, blue are areas of no change, and orange shows areas of aggradation) :<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/DoD-creation-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1586\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/DoD-creation-2.png\" alt=\"\" width=\"2352\" height=\"600\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/DoD-creation-2.png 2352w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/DoD-creation-2-300x77.png 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/DoD-creation-2-1024x261.png 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/DoD-creation-2-768x196.png 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/DoD-creation-2-1536x392.png 1536w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/03\/DoD-creation-2-2048x522.png 2048w\" sizes=\"auto, (max-width: 2352px) 100vw, 2352px\" \/><\/a><\/p>\n<p>As a next step, new stopbank configurations can be inserted, the model run and their effects evaluated and compared.<\/p>\n<p>The laser scanner has been a very effective way of capturing high-resolution elevation data for these scale models.\u00a0 GIS provides the environment for working with the raw data to get some meaningful measures of how the system is evolving.\u00a0 The scanner does have its limitations though, as Rose would probably be happy to tell you about&#8230;\u00a0 The scanner is very sensitive to metal so the whole frame of the model is made of wood (thanks Warwick!) and any metal kept a safe distance away (a challenge in the water lab&#8230;).\u00a0 There are also limits as to how large an area can be scanned.\u00a0 With a bit of judicious equipment placement (and more than a modicum of patience), she can just scan the whole area of the model but I suspect we&#8217;re right at the limits.\u00a0 Nonetheless, we&#8217;re getting some good results out of all this and it&#8217;s a great example of remote sensing in action, though may not be on the scale we&#8217;re used to thinking about it.<\/p>\n<p>C<\/p>\n<p><a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/getting-started-with-the-gis-blog\/\" target=\"_blank\" rel=\"noopener\">GIS Blog Table of Contents<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post we look at how a hand-held laser scanner is being used in the water lab to capture high-resolution elevation data of a scale model of the Waiho River. Lincoln has a long history of using physical models of to study gravel bed river systems, and the West Coast&#8217;s Waiho River in particular.\u00a0 [&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-1574","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1574","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=1574"}],"version-history":[{"count":1,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1574\/revisions"}],"predecessor-version":[{"id":4020,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1574\/revisions\/4020"}],"wp:attachment":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/media?parent=1574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/categories?post=1574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/tags?post=1574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}