<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.panotools.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.panotools.org/index.php?title=Pto2mk&amp;feed=atom&amp;action=history</id>
		<title>Pto2mk - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.panotools.org/index.php?title=Pto2mk&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Pto2mk&amp;action=history"/>
		<updated>2013-05-21T23:54:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Pto2mk&amp;diff=11377&amp;oldid=prev</id>
		<title>Aston: basic page</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Pto2mk&amp;diff=11377&amp;oldid=prev"/>
				<updated>2009-04-15T14:33:25Z</updated>
		
		<summary type="html">&lt;p&gt;basic page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[hugin]] is effectively an editor of .pto ''project files'', the actual stitching of the panorama is performed by a number of other tools such as [[nona]], [[enblend]], [[enfuse]], [[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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
All this is concealed from the user when using the [[hugin]] GUI, [[hugin_stitch_project]] or the [[hugin Batch Processor]] to stitch a project. However the process can also be controlled on the command-line with the '''pto2mk''' tool.&lt;br /&gt;
&lt;br /&gt;
First create a ''Makefile'' containing all the rules necessary to stitch the project:&lt;br /&gt;
&lt;br /&gt;
   pto2mk -o myproject.pto.mk -p myproject myproject.pto&lt;br /&gt;
&lt;br /&gt;
Then run the stitching process and clean-up afterwards like so:&lt;br /&gt;
&lt;br /&gt;
   make -f myproject.pto.mk all clean&lt;br /&gt;
&lt;br /&gt;
== make options ==&lt;br /&gt;
&lt;br /&gt;
''make'' supports a large number of options, variables can be overridden by appending them to the command:&lt;br /&gt;
&lt;br /&gt;
   make -f myproject.pto.mk ENBLEND='enblend -l 29' ENFUSE='enfuse -l 29'&lt;br /&gt;
&lt;br /&gt;
''make'' is capable of identifying rules than can be performed in parallel, so for a 16 core system this command will stitch using 16 parallel processes:&lt;br /&gt;
&lt;br /&gt;
   make -j 16 -f myproject.pto.mk NONA='nona -t 1'&lt;br /&gt;
&lt;br /&gt;
For more advanced command-line stitching, a tool like [http://sourceforge.net/projects/distmake/ distmake] will manage a queue of ''Makefile'' stitching jobs, and even load-balance multiple machines over a network.&lt;br /&gt;
&lt;br /&gt;
[[Category:Software:Platform:Windows]]&lt;br /&gt;
[[Category:Software:Platform:Linux]]&lt;br /&gt;
[[Category:Software:Platform:Mac OS X]]&lt;br /&gt;
[[Category:Software:Hugin]]&lt;/div&gt;</summary>
		<author><name>Aston</name></author>	</entry>

	</feed>