<?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=Tca_correct&amp;feed=atom&amp;action=history</id>
		<title>Tca correct - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.panotools.org/index.php?title=Tca_correct&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Tca_correct&amp;action=history"/>
		<updated>2013-06-19T09:44:09Z</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=Tca_correct&amp;diff=11191&amp;oldid=prev</id>
		<title>Aston: typos</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Tca_correct&amp;diff=11191&amp;oldid=prev"/>
				<updated>2009-03-31T16:21:15Z</updated>
		
		<summary type="html">&lt;p&gt;typos&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:21, 31 March 2009&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;== Using with fulla ==&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;== Using with fulla ==&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;[[fulla]] is a command-line tool for correcting [[lens distortion]], [[vignetting]] and [[TCA]] (chromatic aberration). It is capable of applying the full panotools polynomial to the red and blue channels.&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;[[fulla]] is a command-line tool for correcting [[lens distortion]], [[vignetting]] and [[TCA]] (chromatic aberration). It is capable of applying the full panotools polynomial to the red and blue channels&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, thereby correcting any transverse chromatic aberration&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;First calculate some TCA correction parameters for a sample image, notice that I'm only going to bother optimising ''b'' and ''v'' parameters in the [[lens correction model]], you might get better results with the full ''abcv'' set of parameters:&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 calculate some TCA correction parameters for a sample image, notice that I'm only going to bother optimising ''b'' and ''v'' parameters in the [[lens correction model]], you might get better results with the full ''abcv'' set of parameters:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&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;&amp;#160;&amp;#160; tca_correct -o v DSC_3194.ppm&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;&amp;#160;&amp;#160; tca_correct -o v DSC_3194.ppm&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;After while some [[fulla]] correction parameters will be outputted:&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;After &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/ins&gt;while some [[fulla]] correction parameters will be outputted:&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;&amp;#160;&amp;#160; -r 0.0000000:0.0000000:0.0000000:1.0005943 -b 0.0000000:0.0000000:0.0000000:1.0008306&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;&amp;#160;&amp;#160; -r 0.0000000:0.0000000:0.0000000:1.0005943 -b 0.0000000:0.0000000:0.0000000:1.0008306&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aston</name></author>	</entry>

	<entry>
		<id>http://wiki.panotools.org/index.php?title=Tca_correct&amp;diff=11190&amp;oldid=prev</id>
		<title>Aston: basic page</title>
		<link rel="alternate" type="text/html" href="http://wiki.panotools.org/index.php?title=Tca_correct&amp;diff=11190&amp;oldid=prev"/>
				<updated>2009-03-31T16:14:45Z</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;'''tca_correct''' is a command-line tool shipped with [[hugin]] that can be used to automatically calculate lens [[TCA|chromatic aberration]] correction parameters.  Ideal sample photos would have a lot of contrast over the entire image area, little saturated colour and no blown highlights.&lt;br /&gt;
&lt;br /&gt;
== Using with fulla ==&lt;br /&gt;
&lt;br /&gt;
[[fulla]] is a command-line tool for correcting [[lens distortion]], [[vignetting]] and [[TCA]] (chromatic aberration). It is capable of applying the full panotools polynomial to the red and blue channels.&lt;br /&gt;
&lt;br /&gt;
First calculate some TCA correction parameters for a sample image, notice that I'm only going to bother optimising ''b'' and ''v'' parameters in the [[lens correction model]], you might get better results with the full ''abcv'' set of parameters:&lt;br /&gt;
&lt;br /&gt;
  tca_correct -o bv DSC_3194.ppm&lt;br /&gt;
&lt;br /&gt;
This outputs some fulla parameters like so:&lt;br /&gt;
&lt;br /&gt;
  -r 0.0000000:0.0001197:0.0000000:0.9997630 -b 0.0000000:-0.0001142:0.0000000:1.0001841&lt;br /&gt;
&lt;br /&gt;
You can now use these with fulla when converting photos from this lens:&lt;br /&gt;
&lt;br /&gt;
  fulla -r 0.0:0.0001197:0.0:0.9997630 -b 0.0:-0.0001142:0.0:1.0001841 -o corrected.tif DSC_3194.ppm&lt;br /&gt;
&lt;br /&gt;
== Using with dcraw ==&lt;br /&gt;
&lt;br /&gt;
[[dcraw]] is a command-line [[RAW]] converter with the ability to apply scaling of red/blue channels at the Bayer interpolation stage. Simple scaling is not as sophisticated as the panotools polynomial used in [[fulla]] but is good enough for nearly all purposes. Start by extracting a test image from a RAW file:&lt;br /&gt;
&lt;br /&gt;
  dcraw DSC_3194.NEF&lt;br /&gt;
&lt;br /&gt;
Then run '''tca_correct''' on this PPM image, but tell it to only optimise ''v'' [[field of view]] for the red and blue channels:&lt;br /&gt;
&lt;br /&gt;
  tca_correct -o v DSC_3194.ppm&lt;br /&gt;
&lt;br /&gt;
After while some [[fulla]] correction parameters will be outputted:&lt;br /&gt;
&lt;br /&gt;
  -r 0.0000000:0.0000000:0.0000000:1.0005943 -b 0.0000000:0.0000000:0.0000000:1.0008306&lt;br /&gt;
&lt;br /&gt;
The two useful numbers (1.0005943 and 1.0008306) are the inverse of the numbers required by dcraw, so get a calculator and calculate the reciprocal of each:&lt;br /&gt;
&lt;br /&gt;
  1 / 1.0005943 = 0.999406&lt;br /&gt;
  1 / 1.0008306 = 0.999170&lt;br /&gt;
&lt;br /&gt;
Now when converting RAW files from this lens you can use the dcraw -C parameter to correct [[TCA]]:&lt;br /&gt;
&lt;br /&gt;
  dcraw -C 0.999406 0.999170 [OPTIONS...] DSC_3194.NEF&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>