Smathermather's Weblog

Remote Sensing, GIS, Ecology, and Oddball Techniques

Posts Tagged ‘Drone’

Getting Bundler and friends running — part deux

Posted by smathermather on May 6, 2014

In my previous post on Getting Bundler and friends running, I suggested how to modify an existing script to get Bundler and other structure from motion parts/pieces up and running.  Here’s my follow up.

Install Vagrant and VirtualBox.

Download (or clone) this repo:

https://github.com/OpenDroneMap/odm-vagrant

Navigate into the cloned or unzipped directory (on the command line), run

vagrant up

Go have a cup of coffee. Come back. Run

vagrant ssh

Congratulations. You have an Ubuntu machine capable of all sorts of StructureFromMotion / OpenDroneMap goodness.
Next: A tutorial on how to use the tools you just compiled… .

Posted in 3D, Bundler, Drone, Photogrammetry, PMVS, UAS | Tagged: , , , , , , , | 5 Comments »

Getting Bundler and friends running

Posted by smathermather on April 27, 2014

Anyone who has jumped down the rabbit hole of computer vision has run into dependency h*ll getting software to run.  I jumped down that hole again today with great success that I don’t want to forget (these directions are for Ubuntu, fyi).

First, clone BundlerTools:

https://github.com/qwesda/BundlerTools

This will download and compile (almost) everything for you, which is a wonderful thing.  The one exception is graclus.  This doesn’t have a direct download access anymore– you have to register, and then you will receive and e-mail with the download. So, to get the BundlerTools to work, you will need to post this someplace web accessible.  Then open and modify install.sh (https://github.com/qwesda/BundlerTools/blob/master/install.sh) and change the following line (128)

graclus.tar.gz https://www.topoi.hu-berlin.de/graclus1.2.tar.gz

to match your new download location.

Now change install.sh to executable:

chmod 700 install.sh

and run

./install.sh

Posted in 3D, Bundler, Drone, Photogrammetry, PMVS, UAS | Tagged: , , , , , , , | 1 Comment »

Drone Pointilism

Posted by smathermather on December 23, 2013

Just an image today.

image of UAS derived points using structure from motion.

Image of UAS derived points using structure from motion.

Posted in 3D, Bundler, Drone, Image Processing, Optics, Photogrammetry, PMVS, PostGIS, QGIS, UAS | Tagged: , , , | Leave a Comment »

UAS (drone) Footprint Geometries Calculated in PostGIS with SFCGAL — for real this time

Posted by smathermather on December 15, 2013

In my earlier post, I made a claim that SFCGAL was used in this figure:

Figure showing overlapping viewing footprints from images from UAS flight.

It dawned on my afterwards, while I was using 3D, I hadn’t actually employed any of the analysis goodies that come with SFCGAL.  Well, here it is– a footprint as calculated using the view angles and a real terrain model:

Map showing TIN of intersection of digital terrain model and viewing cone from UAS.

Here it is compared with the initial calculation:

Comparison of previous figure with original less correct estimate.

Posted in 3D, Analysis, Database, Drone, Image Processing, Optics, Other, Photogrammetry, PostGIS, PostgreSQL, QGIS, SFCGAL, SQL, UAS | Tagged: , , , , , | 3 Comments »

UAS (drone) Footprint Geometries Calculated in PostGIS with SFCGAL

Posted by smathermather on December 15, 2013

UAS (drone) Footprint Geometries Calculated in PostGIS (viewed in QGIS nightly), taking into account relative elevation, bearing, pitch, and roll:

Figure showing overlapping viewing footprints from images from UAS flight.

Posted in Other | Tagged: , , , , , | Leave a Comment »

O man. Epic 3D on its way. I could drone on and on about #postgis

Posted by smathermather on December 8, 2013

Still working furiously on final edits for the PostGIS Cookbook.  My last chapter is the last one that the Packt editors and managers are waiting for, but it will be the best I’ve contributed to the book, so I think it will be worth everyone’s time.

The trick with this chapter is that when I first wrote it, it was before the heavy lifting the Oslandia folks have done on SFCGAL and all the nifty 3D integration work, so I have spent a few days reviewing their work and figuring out some novel applications for their work to date (FOSS moves so quickly, I’m having to write new stuff just to keep up…).

Also, for those of you who ooh’d and ahh’d at Bobby Sudekum’s exciting drone mapping post on the MapBox blog, I’ll be showing you some of the post-processing steps you can do in PostGIS of drone imagery.  The whole workflow isn’t in place yet (now that Bborie has made raster faster, we’re waiting on some image draping utilities), but I predict we’re less than a year away from being able to replace that proprietary stack (that can cost between $4-20,000 per annum in licensing fees) with a PostGISful stack.  The 3D chapter will take you halfway there.

Now for some drone scribbles:

Path for drone (uas flight) with overlapping dots representing uas drone picture locations

Drone Scribbles

Posted in 3D, Analysis, Database, Drone, PostGIS, PostgreSQL, SFCGAL, SQL, UAS | Tagged: , , , , , | 7 Comments »