<?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>HidayahTech &#187; Free Software</title>
	<atom:link href="http://blog.basilgohar.com/tag/free-software/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.basilgohar.com</link>
	<description>Technology, Development, &#38; Interesting Stuph</description>
	<lastBuildDate>Tue, 08 Nov 2011 15:49:03 +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>Fedora 16 &#8220;Verne&#8221; has been released!</title>
		<link>http://blog.basilgohar.com/2011/11/08/fedora-16-verne-has-been-released</link>
		<comments>http://blog.basilgohar.com/2011/11/08/fedora-16-verne-has-been-released#comments</comments>
		<pubDate>Tue, 08 Nov 2011 15:38:08 +0000</pubDate>
		<dc:creator>Basil</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[announcement]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[gnu/linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[torrent]]></category>

		<guid isPermaLink="false">http://www.basilgohar.com/blog/?p=528</guid>
		<description><![CDATA[بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِي الْحَمْدُ لِلَّه, Fedora 16 has been released!  You can read the full release notes or just go straight to the torrents for downloading.  See the release announcement after the fold&#8230; The Fedora Project is pleased to announce the release of Fedora 16 (&#8220;Verne&#8221;). For detailed information, see the release notes: http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/ [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><em>بِسْمِ اللَّهِ الرَّحْمَٰنِ الرَّحِي</em></p>
<p><em>الْحَمْدُ لِلَّه</em>, <a title="Fedora Project website" href="http://fedoraproject.org">Fedora</a> 16 has been <a title="Fedora 16 Release Announcement" href="http://fedoraproject.org/wiki/F16_release_announcement">released</a>!  You can read the full <a title="Fedora 16 release notes" href="http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/index.html">release notes</a> or just go straight to the <a title="Fedora Project torrent server" href="http://torrent.fedoraproject.org/">torrents</a> for downloading.  See the release announcement after the fold&#8230;<span id="more-528"></span></p>
<p>The Fedora Project is pleased to announce the release of Fedora 16 (&#8220;Verne&#8221;). For detailed information, see the release notes:</p>
<p><a href="http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/">http://docs.fedoraproject.org/en-US/Fedora/16/html/Release_Notes/</a></p>
<p>Fedora is a leading-edge, free and open source operating system that continues to deliver innovative features to many users, with a new release about every six months. Fedora 16 brings exciting new features for desktop users, for system administrators, and for developers. Highlights of these features can be found below. If the mere mention of Fedora 16 is all you need, download options can be found at:</p>
<p><a href="http://fedoraproject.org/get-fedora">http://fedoraproject.org/get-fedora</a></p>
<h3>Dedication</h3>
<p>During the preparation of Fedora 16, the computing world lost one of its great contributors: Dennis Ritchie. Ritchie co-invented Unix and the C language. He also co-authored <em>The C Programming Language</em>, a book that taught many programmers just at the time personal computing was exploding. Without Ritchie computing would be nothing like it is today.</p>
<p>A humble man, not well-known outside his field, Dennis will always be remembered by those of us who practice the craft. Thank you, Dennis.</p>
<h3>What&#8217;s New in Fedora 16?</h3>
<h4>For desktop users</h4>
<p>A journey to the center of the desktop:</p>
<ul>
<li><strong>GNOME 3.2</strong>, the latest update to the most popular desktop environment, brings new features, including:
<ul>
<li>System Settings gains an &#8220;Online Accounts&#8221; panel, which provides a central point for managing online accounts like Google, Facebook, etc.</li>
<li>A new contact management application is integrated with Empathy, Evolution and the new &#8220;Online Accounts&#8221; settings panel</li>
<li>A new document management application provides a simpler alternative to traditional file management for both local and &#8220;in-cloud&#8221; documents.</li>
</ul>
</li>
<li><strong>KDE 4.7</strong>, the most recent version of this feature-rich desktop environment, brings substantial updates, including:
<ul>
<li>DigiKam 2.0 adds face detection and recognition, geotagging and more.</li>
<li>An updated Plasma Workspaces window manager (KWin) makes KDE better suited for mobile devices, and also adds improvements for desktop users.</li>
<li>A new shutdown dialog allows users with multiple operating systems to select the OS to boot next.</li>
</ul>
</li>
</ul>
<h4>For developers</h4>
<p>Twenty thousand lines in C:</p>
<ul>
<li><strong>Perl 5.14</strong>, a new version of Perl, brings many enhancements, including Unicode 6.0 support.</li>
<li><strong>GCC Python Plugins</strong> extend GCC with Python 2 and 3, without dealing with the C internals of GCC.</li>
<li><strong>D2</strong>: Fedora 16 is the first Linux distribution to include the newest version of D, a systems programming language combining the power and high performance of C and C++ with the programmer productivity of modern languages such as Ruby and Python.</li>
</ul>
<h4>For system administrators</h4>
<p>Around the world in eighty columns:</p>
<ul>
<li><strong>GRUB2</strong>: This leap forward allows better configuration options and better support for non-x86 architectures.</li>
<li><strong>New system account ID numbering</strong>: Fedora 16 starts user IDs at 1000, providing more room for system accounts and making it easier for administrators not have services run as root. This improves interoperability with other Linux distributions that start user IDs at 1000.</li>
<li><strong>Chrony</strong>: Chrony provides network time protocol (NTP) client and server pieces which are more tolerant of unstable clocks and Internet connections which are not always on.</li>
<li><strong>ext4 driver mounts ext2 and ext3</strong>: Fedora 16 uses the ext4 driver to mount ext2 and ext3 file systems, reducing the size of the kernel code.</li>
<li><strong>Improved virtualization tools</strong>:
<ul>
<li>Fedora 16 provides improvements to virtual networking, making large deployments easier.</li>
<li>Virt-manager guest inspection is a unique-to-Fedora tool allowing read-only access to guest file systems, applications, and Windows registry.</li>
<li>Fedora 16 provides locking of virtual disks to prevent a disk being used by multiple virtual machines simultaneously.</li>
</ul>
</li>
</ul>
<p>This is only a taste of what is included in Fedora 16. A more detailed list can be found at:</p>
<p><a href="https://fedoraproject.org/wiki/Releases/16/FeatureList">https://fedoraproject.org/wiki/Releases/16/FeatureList</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basilgohar.com/2011/11/08/fedora-16-verne-has-been-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moodle 2.0 released!</title>
		<link>http://blog.basilgohar.com/2010/11/24/moodle-2-0-released</link>
		<comments>http://blog.basilgohar.com/2010/11/24/moodle-2-0-released#comments</comments>
		<pubDate>Wed, 24 Nov 2010 21:28:16 +0000</pubDate>
		<dc:creator>Basil</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[moodle]]></category>

		<guid isPermaLink="false">http://www.basilgohar.com/blog/?p=523</guid>
		<description><![CDATA[Alḥamdulillāh, Moodle 2.0 has been released! This is important for a lot of reasons, amongst them being that I work with Moodle on a day-to-day basis in my daytime job, and I use it on some of my own sites.  However, most important is the fact that Moodle provides a platform for education that is [...]]]></description>
			<content:encoded><![CDATA[<p><em>Alḥamdulillāh</em>, <a title="Moodle 2.0 is now available!" href="http://moodle.org/mod/forum/discuss.php?d=162906">Moodle 2.0 has been released</a>! This is important for a lot of reasons, amongst them being that I work with Moodle on a day-to-day basis in my daytime job, and I use it on some of my own sites.  However, most important is the fact that Moodle provides a platform for education that is free-as-in-freedom and the community supports this philosophy through-and-through.</p>
<p>Moodle 2.0 brings an incredibly wide range of new features and capabilities that further extend what is possible.  I personally have worked on some of the new features in a minor capacity &#8211; both in submitting bug reports as well as helping to implement some milestones in line with what we needed at work.</p>
<p>Moodle is used on countless sites to provide education and share knowledge in every corner of the world.  So, congratulations to the Moodle team and to the world for this great step forward!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basilgohar.com/2010/11/24/moodle-2-0-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Absurdity</title>
		<link>http://blog.basilgohar.com/2010/05/29/the-absurdity</link>
		<comments>http://blog.basilgohar.com/2010/05/29/the-absurdity#comments</comments>
		<pubDate>Sat, 29 May 2010 19:26:41 +0000</pubDate>
		<dc:creator>Basil</dc:creator>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[DeVeDe]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[mpeg-2]]></category>
		<category><![CDATA[Patent Absurdity]]></category>
		<category><![CDATA[software freedom]]></category>
		<category><![CDATA[software patents]]></category>
		<category><![CDATA[story]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.basilgohar.com/blog/?p=510</guid>
		<description><![CDATA[بسم الله الرحمن الرحيم A few days ago, Matt Lee of the Free Software Foundation had asked in the #theora IRC channel for help in making a DVD of the Patent Absurdity documentary.  Several people volunteered to help, and I was one of them.  I discovered later that this was related to the &#8220;Who should [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><em>بسم الله الرحمن الرحيم</em></p>
<p>A few days ago, Matt Lee of the <a title="Free Software Foundation website" href="http://www.fsf.org/">Free Software Foundation</a> had asked in the #theora IRC channel for help in making a DVD of the <a title="Patent Absurdity website" href="http://patentabsurdity.com"><em>Patent Absurdity</em></a> documentary.  Several people volunteered to help, and I was one of them.  I discovered later that this was related to the &#8220;<a title="Who should see Patent Absurdity?" href="http://en.swpat.org/wiki/Who_should_see_Patent_Absurdity">Who should see Patent Absurdity?</a>&#8221; campaign of the <em><a title="End Software Patents website" href="http://en.swpat.org/wiki/Software_patents_wiki:_home_page">End Software Patents</a> </em>project (<a title="Innovating Against Software Patents" href="http://www.feld.com/wp/archives/2010/05/innovating-against-software-patents.html">an initiative started by Brad Feld</a>, I just discovered!).</p>
<p>Incidentally, we all ran into different kinds of problems, doing what should have been a rather simple task.  The sources of the problems ranged from simple bugs to rather weird video formats.  In this post I will discussed the various issues that I personally encountered and how, <em>alhamdulillaah</em>,  was able to overcome them.</p>
<p><span id="more-510"></span>The most straightforward way to make the video was to take an already decent-quality clip, the 1080p-resolution Ogg Theora clip from the <em>Patent Absurdity</em> website, and just run that through ffmpeg with the &#8216;-target ntsc-dvd&#8217; option to get a DVD-compatible MPEG-2 video stream.  While this did actually produce a compliant video stream that I could burn to a DVD, the resulting video actually had some audio synchronization issues as well as some other problems related to ffmpeg&#8217;s handling of Theora&#8217;s drop frames (segments of video that are basically empty frames because the data does not change at all).  So, the resulting video was unacceptable.</p>
<p>My next attempt was to actually go from the original source material that Matt had provided some folks over at Xiph.  What&#8217;s interesting is that the format was a very odd, 1280&#215;1080 resolution, 4:2:2 chroma-sampled DV-encoded video with a display aspect ratio of 16&#215;9 &#8211; that was 25GB in size..  The only application that actually supports this format is ffmpeg, which means, also, it&#8217;s more widely supported than one might think.  It&#8217;s still an oddball format, though.  So, I ran it through ffmpeg with the same target settings as above.  However, ffmpeg&#8217;s ntsc-dvd target does not change the chroma sampling format of incoming video, so it produced MPEG-2 video that had 4:2:2 chroma.  I&#8217;m not sure if that&#8217;s even valid for MPEG-2, but it&#8217;s surely not valid for a DVD.  So, I manually specified the proper chroma sampling using &#8216;-pix_fmt yuv420p&#8217; (this means planar 4:2:0 chroma sampling).</p>
<p>Sure enough, this produced a DVD-compliant MPEG-2 video stream, but with one problem.  The aspect ratio was not preserved.  This resulted in video that was squashed horizontally.  And, try as I might, nothing I could do with ffmpeg with the MPEG-2 video stream from this point on could correct the aspect ratio, and using a utility, such as mpgtx, to fix it, would make it incompatible with DeVeDe, the application I&#8217;m using to master the DVD Video itself.  So, I had to do an intermediate step.</p>
<p>I deduced that the problem was rooted in too many transforms being required at the same time.  Part of the problem may very well have been my own inexperience with ffmpeg as well, as perhaps someone may be willing to clarify via comments.  Regardless, I decided to tackle the problem by doing the steps separately &#8211; rescale the video &amp; resample chroma as one step, and then do the MPEG-2 encoding via DeVeDe, which will know how best to make DVD video it finds agreeable.  So, starting with that mutant DV video source clip, I extracted the audio out into a FLAC file (the source was 48k/16b/s PCM, so very high quality).  Then I worked on the video &#8211; I scaled it down to 720&#215;480 with a 4:2:0 chroma sampling but with an aspect ratio of 16&#215;9, and I encoded it with the lossless FFV1 codec developed by the ffmpeg developers themselves.  This gave me a 7GB AVI file &#8211; not small, but far more manageable than the original 25GB source file.  I downloaded that locally, and then I attempted to remux the video &amp; audio back into the same file.  And this is where the next issue occurred.</p>
<p>I first noticed the problem on my server, where I attempted this technique first &#8211; that is, remuxing the FFV1 AVI with the FLAC audio into another AVI file, this time with combined video &amp; audio.  I noticed my server started to lag tremendously, and even my rsync download of the video to my PC at home had halted (at more than 90%, no less).  I managed to kill the ffmpeg process, and upon inspection of the load of my server, it had apparently jumped up to 30 or so during that time.  I was confused, but I didn&#8217;t piece it together yet.</p>
<p>After the FFV1 AVI file had finished downloading to my PC (I had to restart the rsync, but thankfully, I had [and usually always] used the &#8211;partial-dir parameter to save partial downloads for just such an occasion), I attempted the same remuxing operating on my PC.  Less than a minute later, I noticed that my PC had frozen.  I knew it was still working because the hard drive was thrashing, so I attempted to SSH in to my PC from my laptop, which I happened to have handily next to me.  After wait for about 1/2 an hour for the connection to establish and actually be able to get the system to respond, I discovered that ffmpeg&#8217;s memory usage had jumped up to 1.3 GB.  And, as my PC has only 2GB of RAM and I had numerous bloaty apps open already (Thunderbird, Firefox, Konversation, Pidgen, Gwibber, and, of course, Gnome itself), this mean the system had run out of memory and was thrashing the swap file.  I managed to killall -9 ffmpeg, and that brought the system back to the land of the living.  I inquired on #ffmpeg why this might have happened, and the response I got was that ffmpeg doesn&#8217;t like FLAC in AVI.  So I tried other container formats &#8211; Matroska &amp; NUT, notable.  They both exhibited the same problem, but I was able to kill ffmpeg in a similar fashion much more swiftly.  I decided to just suck-it-up and converted the FLAC to WAV and ffmpeg muxed that without any difficult whatsoever.  My PC didn&#8217;t even break a sweat.</p>
<p>As a side note, following some additional advice from #ffmpeg, I used mkvmerge to mux the FFV1 AVI file with the FLAC audio file, and it worked, but it lost the aspect ratio.  I tried to manually specify the aspect ratio, and it gave very odd numbers that were, perhaps approximations of 16&#215;9, but I wasn&#8217;t satisfied, so I stuck with FFV1 &amp; raw PCM audio in AVI.</p>
<p>Finally, I can jump into DeVeDe and attempt to make the DVD.  As I am quite pedantic about quality (in case you haven&#8217;t gathered that by now), I chose the best quality options for encoding the DVD video that DeVeDe gave me &#8211; highest rates for audio &amp; video and two-pass video encoding.  Matt had specifically said he didn&#8217;t want any menu for the DVD &#8211; he just wanted it to play, so I removed all menu options.  The whole mastering &amp; encoding process took abut an hour and a half, according to what DeVeDe reported at the end, but I just slept through that (I had stayed-up all night, partially because of this, but not solely so).  I burnt the ISO that it generated onto a DVD-RW, tested it on different systems (Fedora &amp; Windows), including a consumer DVD player, and, <em>alhamdulillaah</em>, it worked beautifully everywhere I played it.</p>
<p>So, there you have it &#8211; the trek to make a DVD about the problems caused by software patents completely with free software.  It was a fun experience, and I&#8217;m glad that I was able to help with getting this important message out.  <em>In shaaʾ Allaah</em> this will have a positive impact on patent reform and strengthen the arguments against the enforcement and even existence of software patents.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basilgohar.com/2010/05/29/the-absurdity/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 13 released!</title>
		<link>http://blog.basilgohar.com/2010/05/25/fedora-13-released</link>
		<comments>http://blog.basilgohar.com/2010/05/25/fedora-13-released#comments</comments>
		<pubDate>Tue, 25 May 2010 14:03:35 +0000</pubDate>
		<dc:creator>Basil</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[fedora 13]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.basilgohar.com/blog/?p=507</guid>
		<description><![CDATA[Alhamdulillaah, Fedora 13 has been released!  Torrents (on a newly redesigned torrent page) are also available.  Not a bad way to get back into blogging, either.  Look for more updates soon, in shaaʾ Allaah.]]></description>
			<content:encoded><![CDATA[<p><em>Alhamdulillaah</em>, <a title="F13 one page release notes" href="https://fedoraproject.org/wiki/F13_one_page_release_notes">Fedora 13 has been released</a>!  <a title="Torrent Server for the Fedora Project" href="http://torrents.fedoraproject.org/">Torrents</a> (on a newly redesigned torrent page) are also available.  Not a bad way to get back into blogging, either.  Look for more updates soon, in shaaʾ Allaah.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basilgohar.com/2010/05/25/fedora-13-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More updates to blog, switching to GPL theme</title>
		<link>http://blog.basilgohar.com/2009/08/02/more-updates-to-blog-switching-to-gpl-theme</link>
		<comments>http://blog.basilgohar.com/2009/08/02/more-updates-to-blog-switching-to-gpl-theme#comments</comments>
		<pubDate>Sun, 02 Aug 2009 13:12:15 +0000</pubDate>
		<dc:creator>Basil</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[gpl]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.basilgohar.com/blog/?p=495</guid>
		<description><![CDATA[Bismillāhir Raḥmānir Raḥīm Alḥamdulillāh, I&#8217;ve decided that, after upgrading WordPress, I should do a little housekeeping.  As usual, I find a list best presents the ideas I wish to express: I upgraded to WordPress 2.8.2 (mentioned here). I fixed some posts that had some typos (I usually am good about this, but these had slipped [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><em>Bismillāhir Raḥmānir Raḥīm</em></p>
<p style="text-align: left;"><em>Alḥamdulillāh</em>, I&#8217;ve decided that, after upgrading WordPress, I should do a little housekeeping.  As usual, I find a list best presents the ideas I wish to express:</p>
<ul>
<li>I upgraded to <a title="WordPress 2.8.2 release announcement" href="http://wordpress.org/development/2009/07/wordpress-2-8-2/">WordPress 2.8.2</a> (<a title="Updated to WordPress 2.8.2" href="http://www.basilgohar.com/blog/2009/08/02/updated-to-wordpress-2-8-2">mentioned here</a>).</li>
<li>I fixed some posts that had some typos (I usually am good about this, but these had slipped by).</li>
<li>I deleted some links that really weren&#8217;t relevant to me anymore (i.e., Ruby on Rails) and I added some new ones.</li>
<li>I changed to a new theme (comments welcome!).</li>
</ul>
<p>I&#8217;d like to elaborate a bit more on the last point above, since it merits some discussion and the action is rooted in something I care about deeply.</p>
<p><span id="more-495"></span>Previously, for quite some time, I&#8217;ve been using the theme &#8220;<a title="Vidiyal WordPress theme website" href="http://themecorp.com/themes/vidiyal/">Vidiyal</a>&#8220;.  I&#8217;ve actually stuck with it for quite some time because of it&#8217;s simplicity, elegance, &amp; beauty (in my eyes, at least).  However, <a title="My WordPress Themes are not GPL, got my own Licensing terms" href="http://wprocks.com/wordpress-news/my-wordpress-themes-are-not-gpl-got-my-own-licensing-terms/">a post</a> by <a title="Sadish.NET" href="http://sadish.net/">the author</a> of the theme really made up my mind for me.  To put it shortly, despite the <a title="Themes are GPL, too" href="http://wordpress.org/development/2009/07/themes-are-gpl-too/">obligation to release derivative works of WordPress, such as a theme, under the GPL</a> (as that is what <a title="WordPress license" href="http://wordpress.org/about/gpl/">WordPress is licensed under</a>), he insists he does not have to.  I&#8217;m not so concerned with the legal issue, to be honest, but the insistence not to release the code as free software is what unsettled me.</p>
<p>To be honest, I didn&#8217;t really check before using the theme, and I guess I didn&#8217;t really care before this.  But now that the issue has been brought to my attention, I have to stick with what I believe is right.  So, I&#8217;ve stopped using all non-free (as in freedom) themes, and will only use themes that I know are free software.  I feel this is the better way to go.</p>
<p>I do hope that Sadish and others see that free software, both practically and, more importantly, fundamentally, are important concepts for protecting our freedoms as human beings.  Software freedom is something we should stand up for, and not tolerate being abused or disregarded.</p>
<p>So, with that, I close my rant and resume pretending to be productive.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basilgohar.com/2009/08/02/more-updates-to-blog-switching-to-gpl-theme/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>High Dynamic Range photography</title>
		<link>http://blog.basilgohar.com/2009/02/21/high-dynamic-range-photography</link>
		<comments>http://blog.basilgohar.com/2009/02/21/high-dynamic-range-photography#comments</comments>
		<pubDate>Sat, 21 Feb 2009 10:56:21 +0000</pubDate>
		<dc:creator>Basil</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Malaysia]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[chdk]]></category>
		<category><![CDATA[hdr]]></category>
		<category><![CDATA[ldr]]></category>
		<category><![CDATA[qtpfsgui]]></category>

		<guid isPermaLink="false">http://www.basilgohar.com/blog/?p=404</guid>
		<description><![CDATA[Bismillaahir Rahmaanir Raheem Alhamdulillaah, I&#8217;ve just managed to produce my first HDR (high dynamic range) image the results of which I&#8217;m pleased with.  Once again, I have CHDK to thank for enabling this feature easily. Note:  I begin this post with a mildly detailed explanation of the human visual system, HDR &#38; LDR images, and [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><em>Bismillaahir Rahmaanir Raheem</em></p>
<p><em>Alhamdulillaah</em>, I&#8217;ve just managed to produce my first HDR (high dynamic range) image the results of which I&#8217;m pleased with.  Once again, I have <a title="CHDK website" href="http://chdk.wikia.com/">CHDK</a> to thank for enabling this feature easily.</p>
<p><span id="more-404"></span><em>Note:  I begin this post with a mildly detailed explanation of the human visual system, HDR &amp; LDR images, and the process to create HDR &amp; tone-mapped images.  The pictures themselves are near the bottom of this post.<br />
</em></p>
<p>First, a little background about HDR.  The way our bodies capture and process imagery is, to put it lightly, amazing.  Starting from when light first hits the <a title="Wikipedia article for &quot;Cornea&quot;" href="http://en.wikipedia.org/wiki/Cornea">cornea</a> through to when we perceive the visual object (not to mention how our brain&#8217;s store such visual images, which is far from just keeping a &#8220;bunch of bits&#8221;), the Words of Allāh resound with truth regarding His Creation:</p>
<blockquote><p><em> And it is He who spread the earth and placed therein firmly set mountains and rivers; and from all of the fruits He made therein two mates; He causes the night to cover the day. <strong>Indeed in that are signs for a people who give thought</strong>. </em>(Alqurʾān 13:3)</p></blockquote>
<p>Thus, in the way that they are created, our eyes can capture an amazing amount of detail and range in their own way.  The range of regular (so-called &#8220;LDR&#8221; &#8211; low dynamic range) images is quite limited in comparison.  And this is, actually, the vast majority of image-related technologies, be they cameras, display devices, or even image formats such as JPEG.</p>
<p>HDR images, however, are those which do or have the ability to capture image details, specifically color &amp; brightness information, at a much higher level than normal technologies.  Since normal technologies, such as our digital cameras and screens, can not capture nor display HDR images, we have to take a different route to get the information.  One technique is <a title="Wikipedia article for &quot;Exposure bracketing&quot;" href="http://en.wikipedia.org/wiki/Bracketing#Exposure_bracketing">exposure bracketing</a> where one takes a picture of the same scene at different exposure levels, one after another.  The reason for doing this is that, while the normal dynamic range of a camera may be unable to capture the bright, medium, and dark details of an image all at once, it does have the ability to capture these details separately with different settings.</p>
<p><em>Alhamdulillaah</em>, there is also software that exists that allows you to take these separate LDR images and combine them into one now-HDR image that contains the details from all the separate exposures.  Doing so is not trivial, and it may take one multiple attempts to get something that looks good.  More often than not, the result is eery, because of a technique called tone-mapping.  Tone-mapping is a technique whereby the colors and range of an HDR image are brought down into a simulation of what our eyes would perceive in the scene.  In reality, that&#8217;s all but impossible, but it yields some interesting, beautiful, and sometimes striking results.</p>
<p>The specific software I use is the unpronounceable <a title="Website for Qtpfsgui" href="http://qtpfsgui.sourceforge.net/">Qtpfsgui</a> (I just say it one letter at a time).  Qtpfsgui is a front end for pfstools, which is an outstanding image toolkit for these kinds of images.  It takes care of aligning, merging, and finally tone-mapping the images one step at a time.  I short-circuited the first two steps (because Qtpfsgui can be fussy sometimes)  by using the command-line tool <a title="Panotools website for align_image_stack" href="http://wiki.panotools.org/Align_image_stack">align_image_stack</a> to align the different exposures (since I moved a bit between exposures) as well as creating the HDR image from the three separate images.  Then, I used Qtpfsgui just for the tone-mapping stage.</p>

<a href='http://blog.basilgohar.com/2009/02/21/high-dynamic-range-photography/c' title='c'><img width="150" height="112" src="http://blog.basilgohar.com/wp-content/basilgohar/uploads/2009/02/c-150x112.jpg" class="attachment-thumbnail" alt="c" title="c" /></a>
<a href='http://blog.basilgohar.com/2009/02/21/high-dynamic-range-photography/d' title='d'><img width="150" height="112" src="http://blog.basilgohar.com/wp-content/basilgohar/uploads/2009/02/d-150x112.jpg" class="attachment-thumbnail" alt="d" title="d" /></a>
<a href='http://blog.basilgohar.com/2009/02/21/high-dynamic-range-photography/e' title='e'><img width="150" height="112" src="http://blog.basilgohar.com/wp-content/basilgohar/uploads/2009/02/e-150x112.jpg" class="attachment-thumbnail" alt="e" title="e" /></a>
<a href='http://blog.basilgohar.com/2009/02/21/high-dynamic-range-photography/kt-beach-hdr_tone-maps-combined-both-overlayed-scaled' title='kt-beach-hdr_tone-maps-combined-both-overlayed-scaled'><img width="150" height="111" src="http://blog.basilgohar.com/wp-content/basilgohar/uploads/2009/02/kt-beach-hdr_tone-maps-combined-both-overlayed-scaled-150x111.jpg" class="attachment-thumbnail" alt="kt-beach-hdr_tone-maps-combined-both-overlayed-scaled" title="kt-beach-hdr_tone-maps-combined-both-overlayed-scaled" /></a>

<p>The first row of pictures are the original images, taken at -4, 0, &amp; +4 EV settings.  Looking closely, you&#8217;ll notice that each range brings out different details: the darkest shows details in the clouds, the middle shows details in the sea, and the brighest shows details in the sand.  These are the separate LDR images at different exposures that I talked-about above.</p>
<p>The second &#8220;row&#8221;, containing only a single picture, is the result of the several steps I mentioned above to produce an HDR image.  I make no claims into how &#8220;real&#8221; this image looks, but it does show the details that I was looking for &#8211; from the clouds to the sand &#8211; in one image.  I also think it looks cool.  <img src='http://blog.basilgohar.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>This is the first HDR image I&#8217;ve created that I&#8217;ve wanted to share, and so I took this opportunity to explain the process too.  If you have any questions, then by all means, please post a comment and then subscribe to the comments so you&#8217;ll know when I&#8217;ve replied.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.basilgohar.com/2009/02/21/high-dynamic-range-photography/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

