<div dir="ltr">Also, once you like how the vagrantfile is configured, do a pull request against odm_vagrant, as I think your laptop specs are pretty typical.<div><br></div><div>Thanks!</div><div>Best,</div><div>Steve</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 3:17 PM, Stephen Mather <span dir="ltr"><<a href="mailto:stephen@smathermather.com" target="_blank">stephen@smathermather.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ah yes, that vagrant file would explain why you aren't seeing threading! It is very conservative. Try something more like this (you'll need to modify the RAM and total number of processors):<div><br></div><div><div># -*- mode: ruby -*-</div><div># vi: set ft=ruby :</div><div><br></div><div># Vagrantfile API/syntax version. Don't touch unless you know what you're doing!</div><div>VAGRANTFILE_API_VERSION = "2"</div><div><br></div><div>Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|</div><div><br></div><div>  # Every Vagrant virtual environment requires a box to build from.</div><div>  config.vm.box = "ubuntu/trusty64"</div><div><br></div><div>  config.vm.synced_folder "../vodm_data", "/vagrant_data"</div><div><br></div><div>  # Provider-specific configuration so you can fine-tune various</div><div>  # backing providers for Vagrant. These expose provider-specific options.</div><div>  # Example for VirtualBox:</div><div>  #</div><div>   config.vm.provider "virtualbox" do |vb|</div><div>     vb.customize ["modifyvm", :id, "--memory", "20480"]</div><div><span style="white-space:pre-wrap">        </span> vb.cpus = 6</div><div>     vb.customize ["modifyvm", :id, "--usb", "on"]</div><div>   end</div><div>end</div></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 25, 2015 at 11:33 AM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, Feb 25, 2015 at 11:02 AM, Stephen Mather <span dir="ltr"><<a href="mailto:stephen@smathermather.com" target="_blank">stephen@smathermather.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Anna,<div><br></div><span><div>Matching should be parallelized. What are you running it on (hardware/hosting, OS)? Just Bundler should be single-threaded, if memory serves (not that memory always serves). My general recommendation is throw as much resources as possible. All the test datasets will process in a couple hours or less on a 32GB RAM digital ocean machine, which costs about $2 to run. I also have a workstation I do testing on which has 12 processors and 32GB of RAM plus an SSD RAID. That is a pleasant machine to run datasets on. I know many have had success with larger Amazon instances as well -- perhaps someone on the list can speak to those experiences.</div><div><br></div><div>As a point of contrast, running on a VM on my ultra-book is an exercise in frustration. :)</div></span></div></blockquote><div><br></div><div>I am currently running it on my Ubuntu laptop (8 cores, 4GB memory), but using the Vagrant file provided and it's really frustrating. I plan to move it on a more powerful machine, but it was more convenient for me to test it first on my machine.</div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>If it is a dataset you can share, I can run some tests and see if I am seeing similar issues.</div></div></blockquote><div><br></div></span><div>I am not sure if the data can be shared. I will first try to run it on a better machine and see if that helps. </div><div><br></div><div>Thanks for your help!</div><span><font color="#888888"><div><br></div><div>Anna</div></font></span><div><div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Cheers,</div><div>Best,</div><div>Steve</div><div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 10:58 PM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Feb 24, 2015 at 10:23 PM, Stephen Mather <span dir="ltr"><<a href="mailto:stephen@smathermather.com" target="_blank">stephen@smathermather.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Anna,<div><br></div><div>Yes "<span style="font-size:12.8000001907349px">--resize-to" will typically help get you a denser point cloud. I have found </span><span style="font-size:12.8000001907349px">--resize-to 3000 to be a useful default, though the project currently defaults to 2400 to avoid swamping people's machines.</span></div></div></blockquote><div><br></div></span><div>I am currently experimenting with larger images but it takes too long. Just the matching takes forever. I wonder why the matching is not running in parallel, if it's not implemented yet, it can't be implemented easily or it gets confused since I am running it in virtual box? </div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">There's a lot to be done on the documentation side. Also, while the meshing and texturing portions of the codebase are novel, some other portions (Bundler, CMVS, PMVS) are projects onto themselves, so it will take a bit of exploration to figure out optimal parameters. As we (as a community) discover those optimal parameters, we can improve the sane defaults, and document good alternatives.</span></div></div></blockquote><div><br></div></span><div>I was looking for some better documentation for these projects, but I didn't find anything helpful. I wish I would know more about the actual algorithms, but that's not my background.  </div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">(That said, there is plenty of documentation to be written that I or others already know, so that is a priority)</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">As to XYZ, yaw, pitch, and roll, OpenDroneMap does not yet take that into account. I would be excited to see this, perhaps even using SFCGAL or other 3D library for doing proper image footprints a la:</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><a href="https://smathermather.wordpress.com/2013/12/15/uas-drone-footprint-geometries-calculated-in-postgis-with-sfcgal-for-real-this-time/" target="_blank">https://smathermather.wordpress.com/2013/12/15/uas-drone-footprint-geometries-calculated-in-postgis-with-sfcgal-for-real-this-time/</a></span></div></div></blockquote><div><br></div></span><div>Great blog! </div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">This would substantially reduce the processing time on the "match" step, which is a decent proportion of the current processing time.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Also, I haven't written any documentation on it yet, but in the bundle.out file in </span>reconstruction-with-image-size-2400 can be loaded in Meshlab to check camera positions and determine sanity of camera positions. There's a youtube video on that somewhere that I'll dig up.</div></div></blockquote><div><br></div></span><div>Right, I noticed that.</div><div><br></div><div>Best,</div><div><br></div><div>Anna</div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Cheers!</div><div>Best,</div><div>Steve</div><div><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Feb 24, 2015 at 1:52 PM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Feb 24, 2015 at 1:32 PM, Andy Wilde <span dir="ltr"><<a href="mailto:awilde76@gmail.com" target="_blank">awilde76@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi Anna,</div>
<div><br></div>
<div>For the resolution issues please read the wiki information which shows some of the parameter information.  This documentation is still under development and will improve.</div></blockquote><div><br></div></span><div>Yes, I looked at the wiki, but I couldn't find what I was looking for. I am still experimenting with different parameters so I will see. I will definitely keep checking the wiki.  </div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br></div>
<div>For the X, Y, Z values the system will interpreted GPS information if it is in the image data,  I would expect that it will interpret x,y,y values in much the same way.  For the roll and yaw I do not think it will recognise this as yet.</div></blockquote><div><br></div></span><div>Thanks,</div><div><br></div><div>Anna </div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br></div>
<div><br></div>
<div>
<br>—<br>Sent from <a href="https://www.dropbox.com/mailbox" target="_blank">Mailbox</a>
</div><div><div>
<br><br><div class="gmail_quote"><p>On Mon, Feb 23, 2015 at 9:28 PM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr">Hi,<div><br></div>
<div>I am trying to run opendronemap on my 200 images and a better documentation of the different options would help me a lot. (I know, writing documentation is always painful.) So I have a couple of questions.</div>
<div><br></div>
<div>1. How do I increase the resolution? I need the point cloud from which I would construct high-resolution raster DSM. Would higher --resize-to do the job? Or a different parameter?</div>
<div><br></div>
<div>2. I have the external orientation of camera (x, y, z, yaw, pitch, roll), is there any way the algorithms could take advantage of this information? I can imagine using these as initial values for the algorithm.</div>
<div><br></div>
<div>Thank you for this great software!</div>
<div><br></div>
<div>Anna</div>
</div></div></blockquote></div><br></div></div></blockquote></span></div><br></div></div>
<br></div></div>_______________________________________________<br>
OpenDroneMap-users mailing list<br>
<a href="mailto:OpenDroneMap-users@lists.osgeo.org" target="_blank">OpenDroneMap-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/opendronemap-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/opendronemap-users</a><br>
<br></blockquote></div><br></div>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>