: need to update this page. In particular:
Only supported under Linux (tested under Ubuntu 14). If you find minor tweaks to make it work with others (ie Windows), I'll take them. But I'm not interested in a large rewrite
Core required:
Stitching:
For Ubuntu:
Probably too outdated to be useful. Don't use
Although these tools are meant for very large stitches, this tutorial uses a small project. Use this to get familiar with the workflow to avoid (time) costly mistakes in large stitches.
“$” indicates a command to execute. For example “$ ls” means type ls followed by enter in the terminal
Do:
Take images with roughly 1/3 overlap to each neighbor. Tag them with x/y or r/c in the file names so that they can be used in positioning heuristics.
Example file name: r0012_c0311.jpg
It shouldn't matter the order or if you use any 0 padding. I generate these using pr0ncnc which could probably be adapted to your system but as of now is fairly specific to mine. I did convert it from g-code generation to live runs over USB without too much effort so someone else's system probably wouldn't be too bad. And the g-code generator probably still works if you can use that.
cd into the directory with your images
Execute a command like: pr0nstitch *.jpg out.pto. This will take some time but should give you a progress indicator of which match its on.
When its done you will get a file called stitch-errors.json. Look through it for images that couldn't be matched. If there are any that have 0 matches you should probably patch them up by hand by loading the project into Hugin
BUG: you must first open and it resave it in Hugin for PToptimizer to take it. I haven't investigated why this is yet. As a workaround use pr0npto –hugin out.pto to do this from the command line
Execute something like:
pr0npto –optimize out.pto
This may take a while but you should get occasional progress indicators. When its done I recommend you center it using pr0npto –center out.pto
I might eventually automate this but for now things have to be done manually. Open it Hugin and do the following:
You have several options at this point:
Execute “pr0nts out.pto”. A folder called out will be created with the tiles. This may take a very long time. There are a lot of options on this tool so try –help and read over them if you need to weak things
You should use the maximum amount of memory you can to create the largest supertile possible. I will eventually add an optimize option where it will calculate the best supertile scheme based on your machine's memory.
Now that you have tiles you can turn them into a map. Execute pr0nmap out and it should create a dir called “map” that has index.html an subdirectories with tiles. Try its help options to see what else it offers.
This should be a reasonably quick operation and will get much faster at each successive zoom level as it creates the next generation of tiles. It only loads on 4 tiles at a time so this should not take a lot of memory.
Open index.html and you should see your chip. If at the highest zoom level you aren't really getting anything over a previous level consider deleting all of the tiles in that directory and lowering the maxZoom parameter in index.html