<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Deconstructing an image</title>
	<atom:link href="http://jeffmatherphotography.com/dispatches/2007/09/deconstructing-an-image/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeffmatherphotography.com/dispatches/2007/09/deconstructing-an-image/</link>
	<description>The Post-9-to-5 Life of an International Playboy</description>
	<lastBuildDate>Sun, 20 May 2012 16:44:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Jeff Mather</title>
		<link>http://jeffmatherphotography.com/dispatches/2007/09/deconstructing-an-image/comment-page-1/#comment-45978</link>
		<dc:creator>Jeff Mather</dc:creator>
		<pubDate>Wed, 18 May 2011 12:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://jeffmatherphotography.com/dispatches/2007/09/deconstructing-an-image/#comment-45978</guid>
		<description>Simon: Thanks for your interest.  It&#039;s been a while since I made the image, and I don&#039;t have the exact commands, but this will give you a similar output.  The main differences seem to be in the choice of colormap and the actual conversion I used to go from RGB HDR to log-2 LDR; hopefully, this is close enough to get you started.

[code lang=&quot;matlab&quot;]
RGB = hdrread(&#039;office.hdr&#039;);
X2 = rgb2gray(RGB);
L = log2(X2);
figure; imshow(L,[]); colormap(jet); colorbar
[/code]</description>
		<content:encoded><![CDATA[<p>Simon: Thanks for your interest.  It&#8217;s been a while since I made the image, and I don&#8217;t have the exact commands, but this will give you a similar output.  The main differences seem to be in the choice of colormap and the actual conversion I used to go from RGB HDR to log-2 LDR; hopefully, this is close enough to get you started.</p>
<div class="codesnip-container" >
<div class="matlab codesnip" style="font-family:monospace;">RGB = hdrread<span class="br0">&#40;</span><span class="co2">&#8216;office.hdr&#8217;</span><span class="br0">&#41;</span>;<br />
X2 = rgb2gray<span class="br0">&#40;</span>RGB<span class="br0">&#41;</span>;<br />
L = <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/log2.html"><span class="kw2">log2</span></a><span class="br0">&#40;</span>X2<span class="br0">&#41;</span>;<br />
<a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/figure.html"><span class="kw2">figure</span></a>; imshow<span class="br0">&#40;</span>L,<span class="br0">&#91;</span><span class="br0">&#93;</span><span class="br0">&#41;</span>; <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/colormap.html"><span class="kw2">colormap</span></a><span class="br0">&#40;</span><a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/jet.html"><span class="kw2">jet</span></a><span class="br0">&#41;</span>; <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/colorbar.html"><span class="kw2">colorbar</span></a></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://jeffmatherphotography.com/dispatches/2007/09/deconstructing-an-image/comment-page-1/#comment-45921</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Tue, 17 May 2011 18:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://jeffmatherphotography.com/dispatches/2007/09/deconstructing-an-image/#comment-45921</guid>
		<description>Hi Jeff,

Could you possibly describe exactly how you made the false-color visualization for the HDR image (the third image from the top of the post), including the color scale on the right. Thanks. 

- Simon</description>
		<content:encoded><![CDATA[<p>Hi Jeff,</p>
<p>Could you possibly describe exactly how you made the false-color visualization for the HDR image (the third image from the top of the post), including the color scale on the right. Thanks. </p>
<p>- Simon</p>
]]></content:encoded>
	</item>
</channel>
</rss>

