<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Noel Schutt &#187; programing</title>
	<atom:link href="http://schutt.org/blog/tag/programing/feed/" rel="self" type="application/rss+xml" />
	<link>http://schutt.org/blog</link>
	<description></description>
	<lastBuildDate>Tue, 22 May 2012 14:08:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Visualizing a wider spectrum</title>
		<link>http://schutt.org/blog/2012/03/visualizing-a-wider-spectrum/</link>
		<comments>http://schutt.org/blog/2012/03/visualizing-a-wider-spectrum/#comments</comments>
		<pubDate>Tue, 13 Mar 2012 11:17:11 +0000</pubDate>
		<dc:creator>Noel</dc:creator>
				<category><![CDATA[photography]]></category>
		<category><![CDATA[programing]]></category>
		<category><![CDATA[ultraviolet]]></category>
		<category><![CDATA[uvir]]></category>

		<guid isPermaLink="false">http://schutt.org/blog/?p=1825</guid>
		<description><![CDATA[Since I’ve been playing with the beyond visible photography, I’ve also been looking at ways to visualize more “colors” than we can see. In yesterday’s post, I simply split the pictures into separate grayscale images: near infrared (IR-A), red, green, blue, and near ultraviolet (black light, UV-A). For this to be more than a fun [...]]]></description>
			<content:encoded><![CDATA[<p>Since I’ve been playing with the beyond visible photography, I’ve also been looking at ways to visualize more “colors” than we can see. In <a href="/blog/2012/03/uv-photography-early-images/">yesterday’s post</a>, I simply split the pictures into separate grayscale images: near infrared (IR-A), red, green, blue, and near ultraviolet (black light, UV-A). For this to be more than a fun art experiment, I need to come up with a consistent and automated way to generate useful images. The standard color photograph and the grayscale UV-A image will be part of my output, but I&#8217;d like to experiment with other options. Back when I was first playing with infrared photography in 2002 and 2003, I tried replacing one of the color channels with IR-A, but my favorite method was using the IR-A image to <a href="http://schutt.org/photo/2007/slideshow/ir-tree_in_back_yard-e-3.jpg">alter the lightness of the color image</a>. Since I was working in commercial photo editors, the process wasn&#8217;t particularly convenient. This time I&#8217;m speeding up the process&mdash;and keeping results consistent&mdash;by writing my own program to process my wide spectrum images. Here are my early results.</p>
<p>My first experiment was to compress the full IR-visible-UV range into one picture, with each of the five channels equally weighted:</p>
<p><a href="http://schutt.org/blog/wp-content/uploads/2012/03/irgbu.jpg"><img src="http://schutt.org/blog/wp-content/uploads/2012/03/irgbu.jpg" alt="" title="Wide spectrum crocus: IR-A,R,G,B,UV-A" width="602" height="400" class="alignnone size-full wp-image-1827" /></a></p>
<p>Since I plan on using wide spectrum photography for plants, the IR-A channel isn’t particularly useful. This is because flowers and leaves are often nearly uniformly reflective in the IR-A range. So I compressed the visual range + UV-A into one image:</p>
<p><a href="http://schutt.org/blog/wp-content/uploads/2012/03/rgbu.jpg"><img src="http://schutt.org/blog/wp-content/uploads/2012/03/rgbu.jpg" alt="" title="Wide spectrum crocus: R,G,B,UV-A" width="602" height="400" class="alignnone size-full wp-image-1828" /></a></p>
<p>Since many insects have a visual spectrum shifted to shorter wavelengths than we do, I also created a shifted version. A quick way to do this is by replacing red with green, green with blue, and blue with ultraviolet:</p>
<p><a href="http://schutt.org/blog/wp-content/uploads/2012/03/gbu.jpg"><img src="http://schutt.org/blog/wp-content/uploads/2012/03/gbu.jpg" alt="" title="Shifted spectrum crocus: G,B,UV-A" width="602" height="400" class="alignnone size-full wp-image-1830" /></a></p>
<p>Since the color replacements are arbitrary, I made a version that keeps the leaves green by making a version with the green and blue in place and the red replaced with ultraviolet:</p>
<p><a href="http://schutt.org/blog/wp-content/uploads/2012/03/ugb.jpg"><img src="http://schutt.org/blog/wp-content/uploads/2012/03/ugb.jpg" alt="" title="Shifted spectrum crocus: UV-A,G,B" width="602" height="400" class="alignnone size-full wp-image-1831" /></a></p>
<p>In the process of inspecting these images and other variations, I noticed that my ultraviolet images probably have less infrared contamination than I initially thought. That’s good. Now, to try my ultraviolet setup on more subjects…</p>
]]></content:encoded>
			<wfw:commentRss>http://schutt.org/blog/2012/03/visualizing-a-wider-spectrum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FORTRAN</title>
		<link>http://schutt.org/blog/2008/05/fortran/</link>
		<comments>http://schutt.org/blog/2008/05/fortran/#comments</comments>
		<pubDate>Tue, 13 May 2008 16:38:56 +0000</pubDate>
		<dc:creator>Noel</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[FORTRAN]]></category>
		<category><![CDATA[programing]]></category>

		<guid isPermaLink="false">http://schutt.org/blog/2008/05/fortran/</guid>
		<description><![CDATA[In college, before video games, we would amuse ourselves by posing programming exercises. One of the favorites was to write the shortest self-reproducing program. Since this is an exercise divorced from reality, the usual vehicle was FORTRAN. Actually, FORTRAN was the language of choice for the same reason that three-legged races are popular. &#8211;Ken Thompson, [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>In college, before video games, we would amuse ourselves by posing programming exercises. One of the favorites was to write the shortest self-reproducing program. Since this is an exercise divorced from reality, the usual vehicle was FORTRAN. Actually, FORTRAN was the language of choice for the same reason that three-legged races are popular. &#8211;Ken Thompson, &ldquo;<a href="http://cm.bell-labs.com/who/ken/trust.html" title="Reflections on Trusting Trust">Reflections on Trusting Trust</a>&rdquo; 1984</p></blockquote>
<p>Ah, yes, the joys of FORTRAN.</p>
]]></content:encoded>
			<wfw:commentRss>http://schutt.org/blog/2008/05/fortran/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

