User Tools

Site Tools


pr0ntools:pr0nts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pr0ntools:pr0nts [2012/02/18 08:46] – [Choosing optimial supertile size] mcmasterpr0ntools:pr0nts [2016/06/27 15:03] (current) – [BBB/machinekit] mcmaster
Line 4: Line 4:
   * Single: cut up a single input image   * Single: cut up a single input image
   * Project:    * Project: 
 +
 +====== Input files ======
 +
 +I think there is an artificial requirement that the input images be tagged with row and col information (ex: y0123_x031.jpg).  I believe the stitcher either doesn't use this information (it relies on nona to do the clipping) or could easily be worked around as a slightly less optimized version.  If you are interested in using this tool but this is in your way talk to me and I can probably remove this requirement without too much effort.
  
 ====== Configuration ====== ====== Configuration ======
Line 52: Line 56:
  
 ====== Choosing optimial supertile size ====== ====== Choosing optimial supertile size ======
 +
 +The ideal supertile is the entire output panorama.  That is you stich a single image from all of the source images and then chop it up.  Unfortunately, this image may be too big to fit into your system or at least force you into swapping and result in abysmal performance.
  
 I'd like to add an option that tries to optimize based on how much memory you feed it but nothing like that exists as of today. I'd like to add an option that tries to optimize based on how much memory you feed it but nothing like that exists as of today.
Line 92: Line 98:
 Usually enblend will fail from out of memory.  Try reducing the supertile size.  nona only uses as much memory as your largest single image so it shouldn't be a problem. Usually enblend will fail from out of memory.  Try reducing the supertile size.  nona only uses as much memory as your largest single image so it shouldn't be a problem.
  
 +
 +====== Tile size ======
 +
 +I chose 250x250 because that's what Google maps default is.  I think I put in command line to change that as needed but its not well tested.
 +
 +
 +====== BBB/machinekit ======
 +
 +<code>
 +echo >>~/.ssh/config <<EOF
 +
 +Host mk
 +User machinekit
 +EOF
 +
 +sudo tee -a /etc/hosts <<EOF
 +192.168.7.2     mk
 +EOF
 +
 +# TODO: how to set static network config auto?
 +# Need 192.168.7.1 / 30 IIRC
 +</code>
  
pr0ntools/pr0nts.1329554775.txt.gz · Last modified: 2013/10/20 14:59 (external edit)