<?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=Flat_stitching_for_tilt-shift_lenses&amp;feed=atom&amp;action=history</id>
		<title>Flat stitching for tilt-shift lenses - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;action=history"/>
		<updated>2013-05-18T12:12:46Z</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=Flat_stitching_for_tilt-shift_lenses&amp;diff=13687&amp;oldid=prev</id>
		<title>Torger at 16:56, 5 August 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13687&amp;oldid=prev"/>
				<updated>2011-08-05T16:56:51Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:56, 5 August 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;stitching, so you need to make sure the lens does not move.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;stitching, so you need to make sure the lens does not move.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Theoretically you would not need to use Hugin for this type of stitching, since the lens stands still and the sensor is just moved around inside the image circle there would be perfect fit and no stretching needed so you just need to lay them together in any photo editor. However, in practice there is usually minor precision errors. When adjusting shift between shots, especially if you need to adjust both lens and camera body as for 35mm, there is usually some slight errors making it hard to fit manually.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;To get as large coverage as possible you should shoot in portrait format (for horizontal panoramas), so you shift along the short side. Thus you may need an L-bracket too.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Theoretically you would not need to use Hugin for this type of stitching, since the lens stands still and the sensor is just moved around inside the image circle there would be perfect fit and no stretching needed so you just need to lay them together in any photo editor. However, in practice there is usually minor precision errors. When adjusting shift between shots, especially if you need to adjust both lens and camera body as for 35mm, there is usually some slight errors making it hard to fit manually&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. If the tripod and head is not perfectly rigid there may be some additional slight shifts and rolls when adjusting camera body position&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Thus it is nice to be able to use Hugin. Here's how:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Thus it is nice to be able to use Hugin. Here's how:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Torger</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13686&amp;oldid=prev</id>
		<title>Torger at 17:15, 4 August 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13686&amp;oldid=prev"/>
				<updated>2011-08-04T17:15:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:15, 4 August 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** If you need to use highlight reconstruction which may alter exposure, compensate by lowering exposure slider somewhat so that no value reach maximum (255/65535) but is as close as possible to it, to make sure exposure is exactly the same for all images.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** If you need to use highlight reconstruction which may alter exposure, compensate by lowering exposure slider somewhat so that no value reach maximum (255/65535) but is as close as possible to it, to make sure exposure is exactly the same for all images.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Make minimal conversion, no sharpening curves etc, leave the final conversion to after stitching.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Make minimal conversion, no sharpening curves etc, leave the final conversion to after stitching.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;** Save the tiffs with a large color space, prophoto for example, to make sure no color information is clipped.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Make the panorama in Hugin&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Make the panorama in Hugin&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Load images&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Load images&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Torger</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13685&amp;oldid=prev</id>
		<title>Torger at 13:55, 4 August 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13685&amp;oldid=prev"/>
				<updated>2011-08-04T13:55:20Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:55, 4 August 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** We do no view, barrel or distortion correction, it would make no sense since the images are from different overlapping positions inside the same image circle of the lens which has not moved between shots.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** We do no view, barrel or distortion correction, it would make no sense since the images are from different overlapping positions inside the same image circle of the lens which has not moved between shots.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Some slightly different order of optimization than described above may work better for you, it all depends on what type of movement error that is introduced when shifting the sensor. Experiment if you don't get expected results.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Some slightly different order of optimization than described above may work better for you, it all depends on what type of movement error that is introduced when shifting the sensor. Experiment if you don't get expected results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*** To keep as good image quality as possible (which is likely why we do flat-stitch in the first place), we want as little transformations as possible. If you can do with only X and Y optimizations (no roll), there will be no transformations at all. It is rarely valuable to optimize further if the error is below one pixel.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Skip exposure correction&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Skip exposure correction&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** That is why we had to be careful to get exactly the same exposure from the raw developer&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** That is why we had to be careful to get exactly the same exposure from the raw developer&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Torger</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13684&amp;oldid=prev</id>
		<title>Torger at 13:50, 4 August 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13684&amp;oldid=prev"/>
				<updated>2011-08-04T13:50:22Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:50, 4 August 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** The end result should be very small error, less than 1 pixel.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** The end result should be very small error, less than 1 pixel.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** We do no view, barrel or distortion correction, it would make no sense since the images are from different overlapping positions inside the same image circle of the lens which has not moved between shots.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** We do no view, barrel or distortion correction, it would make no sense since the images are from different overlapping positions inside the same image circle of the lens which has not moved between shots.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Some slightly different order of optimization than described above may work better for you. Experiment if you don't get expected results.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Some slightly different order of optimization than described above may work better for you&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, it all depends on what type of movement error that is introduced when shifting the sensor&lt;/ins&gt;. Experiment if you don't get expected results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Skip exposure correction&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Skip exposure correction&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** That is why we had to be careful to get exactly the same exposure from the raw developer&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** That is why we had to be careful to get exactly the same exposure from the raw developer&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Torger</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13683&amp;oldid=prev</id>
		<title>Torger at 13:48, 4 August 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13683&amp;oldid=prev"/>
				<updated>2011-08-04T13:48:29Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:48, 4 August 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** First X parameter for all but the anchor image, optimize&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** First X parameter for all but the anchor image, optimize&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**** We expect largest shifts in the X direction (this workflow assumes horizontal panorama, if it is vertical then start with Y)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;**** We expect largest shifts in the X direction (this workflow assumes horizontal panorama, if it is vertical then start with Y)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Then add also Y paramater all but anchor, optimize&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;**** If shifting would be perfect with no precision errors, this parameter is the only we would have to optimize. In practice we often need a couple of more for best results though.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Then add roll, optimize.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Then add also Y paramater &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;to &lt;/ins&gt;all but anchor, optimize&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Then add roll &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;parameter to all but anchor&lt;/ins&gt;, optimize.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** You may try adding Z, yaw and pitch too to see if you get better result, but X, Y and roll is often enough.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** You may try adding Z, yaw and pitch too to see if you get better result, but X, Y and roll is often enough.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** The end result should be very small error, less than 1 pixel.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** The end result should be very small error, less than 1 pixel.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Torger</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13682&amp;oldid=prev</id>
		<title>Torger at 13:45, 4 August 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13682&amp;oldid=prev"/>
				<updated>2011-08-04T13:45:03Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:45, 4 August 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Go to optimizer, and do custom optimization:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Go to optimizer, and do custom optimization:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** First X parameter for all but the anchor image, optimize&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** First X parameter for all but the anchor image, optimize&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;**** We expect largest shifts in the X direction (this workflow assumes horizontal panorama, if it is vertical then start with Y)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Then add also Y paramater all but anchor, optimize&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Then add also Y paramater all but anchor, optimize&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Then &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;finally also yaw, &lt;/del&gt;roll, pitch &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;for all images &lt;/del&gt;but &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;anchor&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;optimize&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** Then &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;add &lt;/ins&gt;roll, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;optimize.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** The end result should be very small error, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;typically &lt;/del&gt;less than &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0.&lt;/del&gt;1 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;pixels&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;*** You may try adding Z, yaw and &lt;/ins&gt;pitch &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;too to see if you get better result, &lt;/ins&gt;but &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;X&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Y and roll is often enough.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** The end result should be very small error, less than 1 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pixel&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** We do no view, barrel or distortion correction, it would make no sense since the images are from different overlapping positions inside the same image circle of the lens which has not moved between shots.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** We do no view, barrel or distortion correction, it would make no sense since the images are from different overlapping positions inside the same image circle of the lens which has not moved between shots.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*** Some slightly different order of optimization than described above may work better for you. Experiment if you don't get expected results.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Skip exposure correction&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Skip exposure correction&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** That is why we had to be careful to get exactly the same exposure from the raw developer&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** That is why we had to be careful to get exactly the same exposure from the raw developer&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Torger</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13681&amp;oldid=prev</id>
		<title>Torger at 11:59, 4 August 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13681&amp;oldid=prev"/>
				<updated>2011-08-04T11:59:24Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:59, 4 August 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** The reason we skip exposure optimization is due to the strange vingetting offset etc you get when you shift the lens, Hugin is not designed for compensating shifted lenses.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*** The reason we skip exposure optimization is due to the strange vingetting offset etc you get when you shift the lens, Hugin is not designed for compensating shifted lenses.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Stitch to desired output, preferably 16 bit tiff&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;** Stitch to desired output, preferably 16 bit tiff&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;*&lt;/del&gt;* Open final tiff image in raw developer and do final color correction, curves, sharpening, vignetting/lens correction etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Open final tiff image in raw developer and do final color correction, curves, sharpening, vignetting/lens correction etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Torger</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13680&amp;oldid=prev</id>
		<title>Torger: Created page with 'In the large format world with technical view cameras it is quite common to have lenses with large image circles (much larger than the sensor) and shift the digital back and then...'</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Flat_stitching_for_tilt-shift_lenses&amp;diff=13680&amp;oldid=prev"/>
				<updated>2011-08-04T11:59:03Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;In the large format world with technical view cameras it is quite common to have lenses with large image circles (much larger than the sensor) and shift the digital back and then...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In the large format world with technical view cameras it is quite common to have lenses with large image circles (much larger than the sensor) and shift the digital back and then stitch together 2-3 images to a larger image. The lens is held still, so what you do is to simulate a larger sensor size than you have.&lt;br /&gt;
&lt;br /&gt;
For 35mm there are special tilt-shift lenses so you can work with the same methods as with a technical view camera. Canon have the TS-E 24, &lt;br /&gt;
45 and 90 mm, and Nikon their PC-E 24, 45 and 85mm. There are also third-party lenses available. For this flat-stitching method it is the &lt;br /&gt;
shift function of the lens that is relevant, not tilt. Most lenses that provides shift can also do tilt though and if the scene requires a &lt;br /&gt;
tilted focal plane, you can indeed employ tilt too.&lt;br /&gt;
&lt;br /&gt;
The advantage of flat-stitching instead of having a panorama head and turning the camera and make a rectinear projection is that you have the &lt;br /&gt;
projection directly in the lens so you don't need to stretch any pixels, so resolution becomes a bit better, despite corner resolution &lt;br /&gt;
of the lens is a bit lower. In practice it is more a matter of taste though, some just prefer flat-stitching.&lt;br /&gt;
&lt;br /&gt;
Unfortunately the 35mm shift lenses rarely have tripod collars, meaning that the camera body rather than the lens is attached to the tripod. &lt;br /&gt;
To avoid parallax errors you thus need to have a rail on the camera to compensate for the lens shift, i e when shifting the lens X mm to the &lt;br /&gt;
right you shift the camera X mm to the left so the lens effectively stands still. Some panorama heads happens allow that type of shifting. &lt;br /&gt;
Using a focus rail is another option. For indoor scenes with objects within a few meters the parallax error will surely be noticed in &lt;br /&gt;
stitching, so you need to make sure the lens does not move.&lt;br /&gt;
&lt;br /&gt;
Theoretically you would not need to use Hugin for this type of stitching, since the lens stands still and the sensor is just moved around inside the image circle there would be perfect fit and no stretching needed so you just need to lay them together in any photo editor. However, in practice there is usually minor precision errors. When adjusting shift between shots, especially if you need to adjust both lens and camera body as for 35mm, there is usually some slight errors making it hard to fit manually.&lt;br /&gt;
&lt;br /&gt;
Thus it is nice to be able to use Hugin. Here's how:&lt;br /&gt;
&lt;br /&gt;
* Take the photos, usually 2 or 3. Assuming RAW format.&lt;br /&gt;
* Develop to 16 bit tiff, using for example RawTherapee&lt;br /&gt;
** Make sure exposure is exactly the same for all images.&lt;br /&gt;
** If you need to use highlight reconstruction which may alter exposure, compensate by lowering exposure slider somewhat so that no value reach maximum (255/65535) but is as close as possible to it, to make sure exposure is exactly the same for all images.&lt;br /&gt;
** Make minimal conversion, no sharpening curves etc, leave the final conversion to after stitching.&lt;br /&gt;
* Make the panorama in Hugin&lt;br /&gt;
** Load images&lt;br /&gt;
** Anchor middle image for position (exposure not important, we're not going to use it)&lt;br /&gt;
** Make control points, 3 per image is enough&lt;br /&gt;
*** Manual control points are often safer and better than automatic, and you don't need many so it's a quick thing to do&lt;br /&gt;
** Go to optimizer, and do custom optimization:&lt;br /&gt;
*** First X parameter for all but the anchor image, optimize&lt;br /&gt;
*** Then add also Y paramater all but anchor, optimize&lt;br /&gt;
*** Then finally also yaw, roll, pitch for all images but anchor, optimize&lt;br /&gt;
*** The end result should be very small error, typically less than 0.1 pixels.&lt;br /&gt;
*** We do no view, barrel or distortion correction, it would make no sense since the images are from different overlapping positions inside the same image circle of the lens which has not moved between shots.&lt;br /&gt;
** Skip exposure correction&lt;br /&gt;
*** That is why we had to be careful to get exactly the same exposure from the raw developer&lt;br /&gt;
*** The reason we skip exposure optimization is due to the strange vingetting offset etc you get when you shift the lens, Hugin is not designed for compensating shifted lenses.&lt;br /&gt;
** Stitch to desired output, preferably 16 bit tiff&lt;br /&gt;
** Open final tiff image in raw developer and do final color correction, curves, sharpening, vignetting/lens correction etc.&lt;/div&gt;</summary>
		<author><name>Torger</name></author>	</entry>

	</feed>