<?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>Dr Jekyll &#38; Mr Hyde &#187; Photo and imaging</title>
	<atom:link href="http://www.rfc1149.net/blog/tag/photo-and-imaging/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rfc1149.net/blog/</link>
	<description>Samuel Tardieu's dual-sided blog</description>
	<lastBuildDate>Tue, 20 Jul 2010 13:04:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://www.rfc1149.net/blog/?pushpress=hub'/>
		<item>
		<title>recoverjpeg 2.0 has been released</title>
		<link>http://www.rfc1149.net/blog/2010/03/02/recoverjpeg-2-0-has-been-released/</link>
		<comments>http://www.rfc1149.net/blog/2010/03/02/recoverjpeg-2-0-has-been-released/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:02:28 +0000</pubDate>
		<dc:creator>Samuel Tardieu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Photo and imaging]]></category>
		<category><![CDATA[Recoverjpeg]]></category>

		<guid isPermaLink="false">http://www.rfc1149.net/blog/?p=246</guid>
		<description><![CDATA[<p>The new release of <a href="http://www.rfc1149.net/devel/recoverjpeg" title="recoverjpeg">recoverjpeg</a> is out! This new release can not only recover lost JPEG pictures from a memory card, but also MOV movies, thanks to the work of Jan Funke.</p>
<p>You can get <a href="http://www.rfc1149.net/download/recoverjpeg/recoverjpeg-2.0.tar.gz" title="recoverjpeg 2.0">recoverjpeg 2.0</a> and its <a href="http://www.rfc1149.net/download/recoverjpeg/recoverjpeg-2.0.tar.gz.sig" title="cryptographic signature">cryptographic signature</a>.</p>
]]></description>
			<content:encoded><![CDATA[<p>The new release of <a href="http://www.rfc1149.net/devel/recoverjpeg" title="recoverjpeg">recoverjpeg</a> is out! This new release can not only recover lost JPEG pictures from a memory card, but also MOV movies, thanks to the work of Jan Funke.</p>
<p>You can get <a href="http://www.rfc1149.net/download/recoverjpeg/recoverjpeg-2.0.tar.gz" title="recoverjpeg 2.0">recoverjpeg 2.0</a> and its <a href="http://www.rfc1149.net/download/recoverjpeg/recoverjpeg-2.0.tar.gz.sig" title="cryptographic signature">cryptographic signature</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rfc1149.net/blog/2010/03/02/recoverjpeg-2-0-has-been-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The resynthesizer miracle</title>
		<link>http://www.rfc1149.net/blog/2005/10/28/the-resynthesizer-miracle/</link>
		<comments>http://www.rfc1149.net/blog/2005/10/28/the-resynthesizer-miracle/#comments</comments>
		<pubDate>Fri, 28 Oct 2005 19:09:56 +0000</pubDate>
		<dc:creator>Samuel Tardieu</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Photo and imaging]]></category>

		<guid isPermaLink="false">http://www.rfc1149.net/blog/?p=66</guid>
		<description><![CDATA[<p>Once in a while, I find a very good plugin for <a href="http://www.gimp.org/" title="GIMP">GIMP</a> (the GNU image manipulation program). The last one I stumbled upon was the <a href="http://www.logarithmic.net/pfh/resynthesizer" title="resynthesizer plugin">resynthesizer plugin</a>.</p>
<p>With this plugin, you can <a href="http://www.logarithmic.net/pfh/resynthesizer/more" title="create tileable textures">create tileable textures</a>, <a href="http://www.logarithmic.net/pfh/resynthesizer/theming" title="remap textures">remap textures</a> or <a href="http://www.logarithmic.net/pfh/resynthesizer/removal" title="remove objects from an image">remove objects from an image</a> in a very easy way.</p>
<p>I have tested the latest feature (removing objects from [...]]]></description>
			<content:encoded><![CDATA[<p>Once in a while, I find a very good plugin for <a href="http://www.gimp.org/" title="GIMP">GIMP</a> (the GNU image manipulation program). The last one I stumbled upon was the <a href="http://www.logarithmic.net/pfh/resynthesizer" title="resynthesizer plugin">resynthesizer plugin</a>.</p>
<p>With this plugin, you can <a href="http://www.logarithmic.net/pfh/resynthesizer/more" title="create tileable textures">create tileable textures</a>, <a href="http://www.logarithmic.net/pfh/resynthesizer/theming" title="remap textures">remap textures</a> or <a href="http://www.logarithmic.net/pfh/resynthesizer/removal" title="remove objects from an image">remove objects from an image</a> in a very easy way.</p>
<p>I have tested the latest feature (removing objects from an image) on two different images (credits to <a href="http://outerspace.eu.org/blog/" title="Nadine">Nadine</a>).</p>
<p><span id="more-66"></span></p>
<h3>Removing a scratch from a girl&#8217;s skin</h3>
<p>As you can see in the image below, this (otherwise gorgeous) friend of mine has an ugly scratch on her back:</p>
<div align="center">
<img src="http://www.rfc1149.net/albums/blogs/skin1.jpg"/>
</div>
<p>If you select (very roughly) the scratch and ask for its removal using the resynthesizer plugin, it&#8217;s gone:</p>
<div align="center">
<img src="http://www.rfc1149.net/albums/blogs/skin2.jpg"/>
</div>
<p>Yes, that&#8217;s it. It has been replaced by new skin automatically.</p>
<h3>Removing a plane from the sky</h3>
<p>I also tried it on a bigger image:</p>
<div align="center">
<a href="http://www.rfc1149.net/albums/blogs/sky1.jpg"><img src="http://www.rfc1149.net/albums/blogs/sky1.sized.jpg" title="Click for the full-size image"/></a>
</div>
<p>By very roughly selecting the plane, do you think it will be possible to remove it? Here is the result:</p>
<div align="center">
<a href="http://www.rfc1149.net/albums/blogs/sky2.jpg"><img src="http://www.rfc1149.net/albums/blogs/sky2.sized.jpg" title="Click for the full-size image"/></a>
</div>
<p>Impressive, eh? Out of curiosity, I made GIMP compute the difference between both images. Here is the result:</p>
<div align="center">
<a href="http://www.rfc1149.net/albums/blogs/sky3.jpg"><img src="http://www.rfc1149.net/albums/blogs/sky3.sized.jpg" title="Click for the full-size image"/></a>
</div>
<p>Yes, you can even use this plugin, after applying the right black and white threshold (1-255 is white, 0 is black), to get an alpha mask of the plane.</p>
<p>I hope that this plugin will be included in the next version of GIMP.</p>
<p>Oh, of course, GIMP and the resynthesizer plugin are both available as Free Software.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rfc1149.net/blog/2005/10/28/the-resynthesizer-miracle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>blenderdist</title>
		<link>http://www.rfc1149.net/blog/2005/08/21/blenderdist/</link>
		<comments>http://www.rfc1149.net/blog/2005/08/21/blenderdist/#comments</comments>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<dc:creator>Samuel Tardieu</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Photo and imaging]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>When doing some heavy 3D rendering with Blender, I realized that one of my animation was going to take 53 hours to render. Existing distributed rendering systems such as DrQueue were fine but require that some software other than Blender or basic interpreters (such as Python or Perl) is installed on the contributing machines.</p>
<p>So I [...]]]></description>
			<content:encoded><![CDATA[<p>When doing some heavy 3D rendering with <a href="http://www.blender.org/">Blender</a>, I realized that one of my animation was going to take 53 hours to render. Existing distributed rendering systems such as <a href="http://www.drqueue.org/">DrQueue</a> were fine but require that some software other than Blender or basic interpreters (such as Python or Perl) is installed on the contributing machines.</p>
<p>So I wrote a simple Python script called <a href="http://www.rfc1149.net/mercurial/blenderdist">blenderdist.py</a> which only needs blender and python to run. A server is launched with:</p>
<p><code><br />
% python blenderdist.py --server PORT JOBDIR RENDERDIR<br />
</code></p>
<p>and will monitor the status of job files (three lines each, the blender file, the first frame to render and the last one to render) in JOBDIR. Resulting frames are placed under RENDERDIR/jobname. Job names have to end with .job and if a file named JOBNAME.job.suspend is present, its rendering is suspended to allow urgent jobs to be rendered first.</p>
<p>Clients are launched with:</p>
<p><code><br />
% python blenderdist.py --client HOST PORT<br />
</code></p>
<p>The server constantly monitors its source code. Whenever the Python script changes, the server relaunches itself (without loosing its state saved in a checkpoint file) and the next time the clients connect to it they will receive the new version of the program and relaunch themselves too.</p>
<p>I have currently a dozen machines working as I type, most of them out of my control. Some friends of mine have agreed to run the script and are contributing CPU cycles for my rendering. This proves to be <b>very helpful</b>. The program is much less powerful than generic ones such as DrQueue, but it does not require that disk space is shared between machines or setting up complex scripts. It just gets the job done.</p>
<p>Note: as this script has been written for a one-time shot need, I place it under the public domain, do whatever you want with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rfc1149.net/blog/2005/08/21/blenderdist/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
