46
46
<p><a href="Hugin.html" title="Hugin">hugin</a> is effectively an editor of .pto <i>project files</i>, the actual stitching of the panorama is performed by a number of other tools such as <a href="Nona.html" title="Nona">nona</a>, <a href="Enblend.html" title="Enblend">enblend</a>, <a href="Enfuse.html" title="Enfuse">enfuse</a>, hugin_hdrmerge and exiftool. The advantage of this is that the hugin GUI can be closed during stitching, saving memory, or reused to work on the next project - Stitching can also be paused, deferred or shifted to another machine, even 'headless' servers can be used.
47
47
</p><p>The stitching process is not necessarily linear, some operations can be performed in any order and even in parallel, with lots of intermediary files that need to be cleaned-up afterwards. So the process of managing this is handled by w:make (software) a robust and lightweight scriptable tool.
48
</p><p>All this is concealed from the user when using the <a href="Hugin.html" title="Hugin">hugin</a> GUI, hugin_stitch_project or the <a href="Hugin_Batch_Processor.html" title="Hugin Batch Processor">hugin Batch Processor</a> to stitch a project. However the process can also be controlled on the command-line with the <b>pto2mk</b> tool.
48
</p><p>All this is concealed from the user when using the <a href="Hugin.html" title="Hugin">hugin</a> GUI, <a href="Hugin_stitch_project.html" title="Hugin stitch project">hugin_stitch_project</a> or the <a href="Hugin_Batch_Processor.html" title="Hugin Batch Processor">hugin Batch Processor</a> to stitch a project. However the process can also be controlled on the command-line with the <b>pto2mk</b> tool.
49
49
</p><p>First create a <i>Makefile</i> containing all the rules necessary to stitch the project:
51
51
<pre> pto2mk -o myproject.pto.mk -p myproject myproject.pto