<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Wavelet Applications for GIMP</title>
	<atom:link href="http://deebuv.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://deebuv.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sat, 24 Sep 2011 17:36:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='deebuv.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Wavelet Applications for GIMP</title>
		<link>http://deebuv.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://deebuv.wordpress.com/osd.xml" title="Wavelet Applications for GIMP" />
	<atom:link rel='hub' href='http://deebuv.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Saving JP2 images</title>
		<link>http://deebuv.wordpress.com/2006/08/11/saving-jp2-images/</link>
		<comments>http://deebuv.wordpress.com/2006/08/11/saving-jp2-images/#comments</comments>
		<pubDate>Fri, 11 Aug 2006 21:22:49 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[jpeg2000]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/08/11/saving-jp2-images/</guid>
		<description><![CDATA[After four days of dealing with continous errors in save routine for jp2 files, I finally got something fruitful. Initially I was getting errors from glibc which was giving me trouble using malloc(). Turns out I had not freed some memory and doing that fixed that error. Then came a run-time seg fault which was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=35&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After four days of dealing with continous errors in save routine for jp2 files, I finally got something fruitful.  Initially I was getting errors from glibc which was giving me trouble using malloc().  Turns out I had not freed some memory and doing that fixed that error.   Then came a run-time seg fault which was annoying.  It took me a while to notice that in a for loop I had for(k =0;i&lt; comps;i++) whereas it should have been for(k=0;k&lt;comps;k++).  i was uninitialized so the program basically skipped the step and a opj_create_image routine did not get the proper values.</p>
<p>After finding these stupid errors came the errors from the openjpeg library.  Finding this error made me understand how the library is written, so it may have been a blessing in disguise!  The problem was in writing header data into a stream.  After a lot of debugging, I noticed the actual problem was initializing the data buffer in the stream.  This led me to realize that I was actually not setting the width and height in the openjpeg image data structure.  I assumed this done during initializing because I provided this data for each individual component.  After doing this the program ran smoothly and saved the image.  But now the problem was that the saved image was all black.  The reason was some uinitialized values in the compression parameters.  After figuring out the right values the image was finally saved correctly.</p>
<p>There are still some improvement that are needed though.  First I need an interactive way of changing paramters for compression.  Secondly, I need to test it with some standard images provided on the openjpeg discussion forum.  That should complete this plugin.  I would need to work a little harder to complete all this within two days as I have until August 21 to do this work.</p>
<p>I also need to make changes in the inverse halftoning plugin to put a graphical interface so that halftoned images of various frequencies can be reversed.  The denoising plugin I believe is complete and works well.</p>
<p>After all this I need to make sure I have proper copyrights in the files and also write a final report.  Hopefully things will be done in time.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/35/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/35/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=35&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/08/11/saving-jp2-images/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>
	</item>
		<item>
		<title>Loading JP2 and J2K images works!</title>
		<link>http://deebuv.wordpress.com/2006/07/31/loading-jp2-and-j2k-images-works/</link>
		<comments>http://deebuv.wordpress.com/2006/07/31/loading-jp2-and-j2k-images-works/#comments</comments>
		<pubDate>Mon, 31 Jul 2006 19:00:41 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[jpeg2000]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/07/31/loading-jp2-and-j2k-images-works/</guid>
		<description><![CDATA[I was finally able to find the error in my jpeg2000 plugin code. The reason for the error was that I was not reading the filename properly (basically reading NULL) and because of this I was getting segmentation faults when it tried to load images. I always assumed that the run function would automatically have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=33&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was finally able to find the error in my jpeg2000 plugin code.  The reason for the error was that I was not reading the filename properly (basically reading NULL) and because of this I was getting segmentation faults when it tried to load images.  I always assumed that the run function would automatically have the filename and never bothered to check this!  I solved the problem by providing the necessary arguments in the query function.</p>
<p>The good thing is that the load plugin is working smoothly on the select images that I tested it on.  It may be a little slow but I can definitely speed it up using row processing.  I used the openjpeg library although I could have used the jasper library as well because the problem I was getting was common.  But the openjpeg library is specifically geared towards jpeg2000 development and the library functions are a lot more easier to use that the jasper library.  The final code is also very clean.</p>
<p>A screenshot of how the image was loaded is shown below.</p>
<p><a href="http://deebuv.files.wordpress.com/2006/07/screenshot.png" class="imagelink" title="screenshot"><img src="http://deebuv.files.wordpress.com/2006/07/screenshot.png?w=450" alt="screenshot" /></a></p>
<p>I will be out attending a family function for the next two days and will start working on refining the current load code and then work on saving as jp2 or j2k images.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=33&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/07/31/loading-jp2-and-j2k-images-works/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/screenshot.png" medium="image">
			<media:title type="html">screenshot</media:title>
		</media:content>
	</item>
		<item>
		<title>Inverse Halftoning &#8211; contd</title>
		<link>http://deebuv.wordpress.com/2006/07/28/inverse-halftoning-contd/</link>
		<comments>http://deebuv.wordpress.com/2006/07/28/inverse-halftoning-contd/#comments</comments>
		<pubDate>Fri, 28 Jul 2006 21:30:13 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[Halftoning]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/07/28/inverse-halftoning-contd/</guid>
		<description><![CDATA[This update comes a little late as I was busy with working on the jpeg2000 plug-in and forgot to update on my final status on inverse halftoning. I decided on the algorithm to use, implemented it in C, and finally wrote the plug-in which seems to be working well with exception on images of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=29&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This update comes a little late as I was busy with working on the jpeg2000 plug-in and forgot to update on my final status on inverse halftoning.  I decided on the algorithm to use, implemented it in C, and finally wrote the plug-in which seems to be working well with exception on images of the order 1024 and higher.  My guess is that I am not doing memory management well and hopefully I can resolve this issue soon.  I started working on jpeg2000 plugin in the meanwhile as I was getting bored of working on halftoning for a while!</p>
<p>Here are some scanned newspaper images on which I tried the algorithm using the plug-in.</p>
<p><a href="http://deebuv.files.wordpress.com/2006/07/pic_news_1.jpg" class="imagelink" title="news_1"><img src="http://deebuv.files.wordpress.com/2006/07/pic_news_1.jpg?w=254&#038;h=272" alt="news_1" height="272" width="254" /></a> halftoned newspaper image</p>
<p><a href="http://deebuv.files.wordpress.com/2006/07/pic_news_1_ihalf.jpg" class="imagelink" title="news_1_ihalf"><img src="http://deebuv.files.wordpress.com/2006/07/pic_news_1_ihalf.jpg?w=257&#038;h=277" alt="news_1_ihalf" height="277" width="257" /></a>  inverse halftoned image</p>
<p><a href="http://deebuv.files.wordpress.com/2006/07/news_clip2_orig.jpg" class="imagelink" title="news_2"><img src="http://deebuv.files.wordpress.com/2006/07/news_clip2_orig.jpg?w=412&#038;h=260" alt="news_2" height="260" width="412" /> </a>  halftoned newspaper image</p>
<p><a href="http://deebuv.files.wordpress.com/2006/07/news_clip2_ihalf.jpg" class="imagelink" title="news_2_ihalf"><img src="http://deebuv.files.wordpress.com/2006/07/news_clip2_ihalf.jpg?w=415&#038;h=262" alt="news_2_ihalf" height="262" width="415" /></a>  inverse halftoned image</p>
<p>The basic algorithm goes as follows:</p>
<p>If we take a one step wavelet transform of a halftoned image, the low pass frequency part will be less noisy whereas the high frequency part will be extremely noisy as it detects many edges in the halftoned images.  The basic idea is to remove the noise in these images and preserve the edges.  In order to preserve the edges, I get the high frequency content from blurred versions of the image.  This way the noise gets reduced and I get  the useful edge information.  I get the blurred image by using 3&#215;3 kernel.  If we increase the radius of the kernel the final image become very blurry.  It can be argued that is process is almost similar to simply blurring the image, but in actuallity there is a slight difference.  I am using the high frequency content from blurred images and low frequency from the original halftoned image.  Further research can be done to improve the sharpness of the images, but for now this method works and I will concentrate on making it memory efficient.  Once I get that working, I will work on further increasing the quality of inverse halftoned images.  Another update on my jpeg2000 work will soon folllow&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=29&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/07/28/inverse-halftoning-contd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/pic_news_1.jpg" medium="image">
			<media:title type="html">news_1</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/pic_news_1_ihalf.jpg" medium="image">
			<media:title type="html">news_1_ihalf</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/news_clip2_orig.jpg" medium="image">
			<media:title type="html">news_2</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/news_clip2_ihalf.jpg" medium="image">
			<media:title type="html">news_2_ihalf</media:title>
		</media:content>
	</item>
		<item>
		<title>Inverse Halftoning &#8211; problems</title>
		<link>http://deebuv.wordpress.com/2006/07/16/inverse-halftoning-problems/</link>
		<comments>http://deebuv.wordpress.com/2006/07/16/inverse-halftoning-problems/#comments</comments>
		<pubDate>Sun, 16 Jul 2006 21:17:18 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[Halftoning]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/07/16/inverse-halftoning-problems/</guid>
		<description><![CDATA[Inverse Halftoning is tough!!! Yeah, thats my final conclusion. No I have not given up..I am just frustrated that things are not working properly. I pretty much explained the steps involved in a halftoning process using wavelets in my last post. I realized later that I should not pass the &#8216;S&#8217; component through a gaussian [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=27&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Inverse Halftoning is tough!!! Yeah, thats my final conclusion.  No I have not given up..I am just frustrated that things are not working properly.  I pretty much explained the steps involved in a halftoning process using wavelets in my last post.  I realized later that I should not pass the &#8216;S&#8217; component through a gaussian filter as this makes the final image more blurrier.  After all the whole point of the process is to recover edges from the halftoned image.</p>
<p>After recovering them, the more difficult part is to blend it with the image.  One paper suggested passing horizontal and vertical edges (from the DWT) through a low pass filter.  This will reduce the noise and highlight the main edges.  Well it does highlight the main edges but also highlights a lot of extra stuff.  Supposedly (as suggested in another paper), this does not happen in error-diffused halftoned images.  Moreover, the method of low pass filtering only works well when the halftoned images is error-diffused.  A real bummer becuase the authors of the paper claimed the algorithm worked for any kind of halftoned image and that is what got me to implement the algorithm.  Anyways, I have got a pretty good grasp of what is going on and should be able to come up with a general algorithm.</p>
<p>Its getting late now.  My plan for tomorrow is to test the algorithm on a newspaper image that I have scanned.  That should be interested because its a more practical situation.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/27/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/27/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=27&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/07/16/inverse-halftoning-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>
	</item>
		<item>
		<title>Inverse Halftoning</title>
		<link>http://deebuv.wordpress.com/2006/07/14/inverse-halftoning/</link>
		<comments>http://deebuv.wordpress.com/2006/07/14/inverse-halftoning/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 19:20:29 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[Halftoning]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/07/14/inverse-halftoning/</guid>
		<description><![CDATA[For the past week I had been working on implementing a Rice University based inverse halftoning algorithm which they had published in Matlab. The results were good and I was motivated to implement the same in C. This apparently was a bad decision because of the various complicated steps involved. My aim was to start [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=26&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For the past week I had been working on implementing a Rice University based inverse halftoning algorithm which they had published in Matlab.  The results were good and I was motivated to implement the same in C.  This apparently was a bad decision because of the various complicated steps involved.  My aim was to start with the denoising implementation and use the dwt code provided in the same toolkit.  But this did not work and I got some random images which was definitly not what I had in mind for the final image.  I realized that I should have carefully tested and understood the halftoning process.</p>
<p>The work done at Rice University was based on the original work done by Xiong, Orchard, and Ramchandran in a paper titled &#8220;Inverse Halftoning Using Wavelets&#8221;.  This was the first paper of doing inverse halftoning using wavelets and most of the subsiquent research papers used some form of the the algorithm proposed by them.  Unfortunately there is no implementation of the algorithm available online.  Fortunately the method is easy enough to be implemented in Matlab.  My goal was to first test how the algorithm works and then implement in C.  So far I have results of how the code works on a Matlab implementation.</p>
<p>Here are the steps involved in the method:</p>
<p>Step 1: Take DWT of the halftoned image.  This will produce four set of images say S, W_H, W_V, W_D.  S will contain low frequency information of the image, W_H will be the horizontal high pass image, W_V will be the vertical high pass image, and W_D will be the diagonal high pass image.</p>
<p>Step 2: Pass W_H and W_V through a low pass gaussian filter and ignore W_D.</p>
<p>Step 3: Pass S through an edge preserving filter so as to not get blurry images.  Instead of doing this, I also passed S through a gaussian filter.  The result as expected was blurry but the amount was not that much.  I will implement the particular noise removal filter soon.</p>
<p>Step 4: Calculate inverse DWT using changed wavelets coefficients and ignoring W_D.</p>
<p>The sequence of images starting from the orignial are shown below:</p>
<p><img src="http://deebuv.files.wordpress.com/2006/07/peppers_floyd_ht.jpg?w=450" alt="halftoned image1" /> original image</p>
<p><img src="http://deebuv.files.wordpress.com/2006/07/peppers_s.jpg?w=450" alt="pepper_s" /> S wavelet image</p>
<p><img src="http://deebuv.files.wordpress.com/2006/07/peppers_wh.jpg?w=450" alt="pepper_h" /> W_H wavelet image</p>
<p><img src="http://deebuv.files.wordpress.com/2006/07/peppers_wv.jpg?w=450" alt="pepper_v" /> W_V wavelet image</p>
<p>Passing each W_H, W_V, S through gaussian filtering and taking inverse we get:</p>
<p><img src="http://deebuv.files.wordpress.com/2006/07/peppers_rec.jpg?w=450" alt="inverse_pepper" /></p>
<p>final inverse halftoned image</p>
<p>If you compare this with the image I got in my previous post, you will notice a huge difference in the quality.  I will improve upon this by changing the filter used for S wavelet coefficients.  Once I have the Matlab code ready and I will implement this in C and then make it work for GIMP.  This should take about 2-3 days because most of the code for doing Wavelet transforms is already available and I just have to get code for doing filtering (which I have actually written but realized there is a better and faster version online!) and specify the necessary kernel for doing filtering.  I should have the final plugin done within 3 days.  I will do testing of the Matlab code on some pictures that I have scanned from newspapers.  That should give a good idea of how this method can actually be used becuase newspaper images are halftoned images.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=26&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/07/14/inverse-halftoning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/peppers_floyd_ht.jpg" medium="image">
			<media:title type="html">halftoned image1</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/peppers_s.jpg" medium="image">
			<media:title type="html">pepper_s</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/peppers_wh.jpg" medium="image">
			<media:title type="html">pepper_h</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/peppers_wv.jpg" medium="image">
			<media:title type="html">pepper_v</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/peppers_rec.jpg" medium="image">
			<media:title type="html">inverse_pepper</media:title>
		</media:content>
	</item>
		<item>
		<title>Starting Halftoning</title>
		<link>http://deebuv.wordpress.com/2006/07/07/starting-halftoning/</link>
		<comments>http://deebuv.wordpress.com/2006/07/07/starting-halftoning/#comments</comments>
		<pubDate>Fri, 07 Jul 2006 11:17:20 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[Halftoning]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/07/07/starting-halftoning/</guid>
		<description><![CDATA[Having done image denoising I have now started implementing inverse image halftoning. This might get a little tricky because I do not have a C implementation and just some Matlab. But I think I can use most of the image denoising code becuase the concepts used are almost the same. While I was reading this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=20&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having done image denoising I have now started implementing inverse image halftoning.  This might get a little tricky because I do not have a C implementation and just some Matlab.  But I think I can use most of the image denoising code becuase the concepts used are almost the same.  While I was reading this <a href="http://citeseer.ist.psu.edu/xiong96inverse.html" target="_blank">paper</a> on image halftoning using wavelets they mentioned that the approach was similar to that of image denoising.  Since halftoned data is basically a very noisy but elegant looking image, I decided to try the current denoising plug-in on a halftoned image.  The results, as expected, were not great but showed that the concepts could be used with some slight modification.  I will be working on that over the next couple of days.  Here are the results that I got on using the denoising plug-in:</p>
<p><a href="https://deebuv.wordpress.com/2006/07/07/starting-halftoning/halftoned-image1/" rel="attachment" class="imagelink" title="halftoned image1"><img src="http://deebuv.files.wordpress.com/2006/07/peppers_floyd_ht.jpg?w=450" alt="halftoned image1" /></a></p>
<p>halftoned image</p>
<p><img src="http://deebuv.files.wordpress.com/2006/07/peppers_floyd_ht_den.jpg?w=450" alt="Halftoned" /></p>
<p>image obtained after denoising</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=20&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/07/07/starting-halftoning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/peppers_floyd_ht.jpg" medium="image">
			<media:title type="html">halftoned image1</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/peppers_floyd_ht_den.jpg" medium="image">
			<media:title type="html">Halftoned</media:title>
		</media:content>
	</item>
		<item>
		<title>Image Denoising &#8211; contd</title>
		<link>http://deebuv.wordpress.com/2006/07/04/image-denoising-contd/</link>
		<comments>http://deebuv.wordpress.com/2006/07/04/image-denoising-contd/#comments</comments>
		<pubDate>Tue, 04 Jul 2006 08:21:30 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[Denoising]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/07/04/image-denoising-contd/</guid>
		<description><![CDATA[Today I have finally completed the image denoising plug-in which I started writing last week. Previously the code could only handle grayscale images and that too of specific resolution (power of 2). Now the implementation is generalized and gave pretty good results on testing under various levels of noise. The main problem I faced during [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=11&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I have finally completed the image denoising plug-in which I started writing last week.  Previously the code could only handle grayscale images and that too of specific resolution (power of 2).  Now the implementation is generalized and gave pretty good results on testing under various levels of noise.  The main problem I faced during this time was in understanding how the gimp processed colored images using a single array.  I had the concept right, but was reading images by the Matlab format which reverses the x and y coordinates.  I didn&#8217;t realize what I was doing wrong until I asked Simon (my mentor) about it.</p>
<p>Once I fixed that, I was getting results but they did not seem satisfactory for images of dimension say 240&#215;260.  I stored this image in a 512&#215;512 array and set the necessary values to the image pixels and set the rest of the values to 0.  As you can see, a large part of the image will be 0 and thus the overal image noise becomes small.  For this reason it was not denoising the image properly.  The solution was to extend the image in each direction to create 2*(240*260) image and read the values of 512&#215;512 array accordingly.  This way the noise level remains the same and the denoising is done successfully.  Some examples of how the denoising is performing are shown here.</p>
<p><img src="http://deebuv.files.wordpress.com/2006/07/image2.jpg?w=450" alt="Noisy Image 2" /> noisy image<br />
<img src="http://deebuv.files.wordpress.com/2006/07/image2_den_daub41.jpg?w=450" alt="Noisy Image 2" /> denoised image</p>
<p><img src="http://deebuv.files.wordpress.com/2006/07/image2_blur.jpg?w=450" alt="Blurred 2" /> blurred image<br />
<img src="http://deebuv.files.wordpress.com/2006/07/image1.jpg?w=450" alt="Noisy Image" />   noisy image 2<br />
<img src="http://deebuv.files.wordpress.com/2006/07/image1_den_daub4.jpg?w=450" alt="Denoised Image" />  denoised image 2</p>
<p>There is a lot of noise in the first image and the corresponding denoised is not that good but this is understandable considering the amount of information lost due to noise.  Notice what happens the the first noisy image is blurred.  The noise is gone but the image is severally blurred which is not good.  Clearly this denoising method is superior and restores the basic image even if the noise is a lot.  The noise in the second image is not that much and hence the denoised image looks much better.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=11&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/07/04/image-denoising-contd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/image2.jpg" medium="image">
			<media:title type="html">Noisy Image 2</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/image2_den_daub41.jpg" medium="image">
			<media:title type="html">Noisy Image 2</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/image2_blur.jpg" medium="image">
			<media:title type="html">Blurred 2</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/image1.jpg" medium="image">
			<media:title type="html">Noisy Image</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/07/image1_den_daub4.jpg" medium="image">
			<media:title type="html">Denoised Image</media:title>
		</media:content>
	</item>
		<item>
		<title>Image Denoising</title>
		<link>http://deebuv.wordpress.com/2006/06/29/image-denoising/</link>
		<comments>http://deebuv.wordpress.com/2006/06/29/image-denoising/#comments</comments>
		<pubDate>Thu, 29 Jun 2006 12:54:35 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[Denoising]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/06/29/image-denoising/</guid>
		<description><![CDATA[I have been rather lazy about blogging about the work I am doing, but today I was pretty excited about the work done so thought of putting them online as well . I started out writing a jpeg2000 load plug-in but was experiencing some problems using an external library. It was getting frustrating so I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=10&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been rather lazy about blogging about the work I am doing, but today I was pretty excited about the work done so thought of putting them online as well <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  I started out writing a jpeg2000 load plug-in but was experiencing some problems using an external library.  It was getting frustrating so I thought I would suspend that work and concentrate on other goals that I had in mind.</p>
<p>I have got a working denoising plug-in which is currently a little selective in its functionality, but works well.  I will be working on making it more flexiable during the next couple of days.  The results are shown below.  Denoising basically attempts to remove noise from an image (here the noisy cats image).  One way to remove noise is to blur the image, but this is not very effective as it removes high frequency components in an image.</p>
<p><img src="http://deebuv.files.wordpress.com/2006/06/cat_noise.jpg?w=450" alt="Cats with noise" /></p>
<p>noisy image<br />
<img src="http://deebuv.files.wordpress.com/2006/06/cat_blurr.jpg?w=450" alt="Blurred cats image" /></p>
<p>blurred image</p>
<p><img src="http://deebuv.files.wordpress.com/2006/06/cat_denoise.jpg?w=450" alt="Denoising cats image" /></p>
<p>denoised image<br />
<img src="http://deebuv.files.wordpress.com/2006/06/cat_orig.jpg?w=450" alt="original cats image" /></p>
<p>original image</p>
<p>The current implementation tries to restore high frequency and the results look better than the blurred images.  More testing will be done to further confirm this.  In the next couple of days I will be working on generalizing the implementation.  It currently only works on sqaured images with dimension of the form 2^m by 2^m.  There are memory allocation issues the size is not of this form.  Also, the implementation currently uses Daubechies wavelet of length 8.  This can be changed for better results.  Additionally, I will also work on improving the speed of the code.  All this should not take more than 2 days.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=10&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/06/29/image-denoising/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/06/cat_noise.jpg" medium="image">
			<media:title type="html">Cats with noise</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/06/cat_blurr.jpg" medium="image">
			<media:title type="html">Blurred cats image</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/06/cat_denoise.jpg" medium="image">
			<media:title type="html">Denoising cats image</media:title>
		</media:content>

		<media:content url="http://deebuv.files.wordpress.com/2006/06/cat_orig.jpg" medium="image">
			<media:title type="html">original cats image</media:title>
		</media:content>
	</item>
		<item>
		<title>Compiling GIMP from source</title>
		<link>http://deebuv.wordpress.com/2006/05/29/compiling-gimp-from-source/</link>
		<comments>http://deebuv.wordpress.com/2006/05/29/compiling-gimp-from-source/#comments</comments>
		<pubDate>Mon, 29 May 2006 16:15:36 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/05/29/compiling-gimp-from-source/</guid>
		<description><![CDATA[I was confused when I did not notice any options (quality, blocksize etc) for converting to jpeg2000 but on digging out the manual I found a whole bunch of options to specify.&#160; These were also defined in the jp2.c file provided by jasper, but I guess I overlooked it.&#160; So I know what controlling parameters [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=4&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was confused when I did not notice any options (quality, blocksize etc) for converting to jpeg2000 but on digging out the manual I found a whole bunch of options to specify.&nbsp; These were also defined in the jp2.c file provided by <a href="http://www.ece.uvic.ca/~mdadams/jasper/">jasper</a>, but I guess I overlooked it.&nbsp; So I know what controlling parameters to put in the final interface.</p>
<p>I also got myself the source code of GIMP 2.2 and compiled it.&nbsp; It took a while to get all the necessary libraries, but it worked out well in the end.&nbsp; I looked at the jpeg.c plug-in and will use this as a starting point for the jp2 plug-in.&nbsp; I have got everything I needed and should be able to get something useful working by tomorrow.</p>
<p>Schedule for the next couple of days:</p>
<ol>
<li>Write code using jasper libraries to read jp2 files.</li>
<li>Learn how to write plug-ins and also how to add the jp2 extensions to the gimp interface.</li>
<li>Write code for saving images as jp2 files</li>
</ol>
<p>Hopefully I should be abe to these by Wednesday.&nbsp; My parents have planned a 2 week vacation to visit several places followed by a week of stay at my grandparents place starting this Thursday.&nbsp; I may not get much coding done during this time, but will catch up on reading for other wavelet applications.&nbsp; The good thing is that I don&#39;t have any more plans to go out after that so I can spend all my time ont his project</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=4&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/05/29/compiling-gimp-from-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>
	</item>
		<item>
		<title>The start of summer</title>
		<link>http://deebuv.wordpress.com/2006/05/26/the-start-of-summer/</link>
		<comments>http://deebuv.wordpress.com/2006/05/26/the-start-of-summer/#comments</comments>
		<pubDate>Fri, 26 May 2006 10:25:03 +0000</pubDate>
		<dc:creator>deebuv</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://deebuv.wordpress.com/2006/05/26/the-start-of-summer/</guid>
		<description><![CDATA[Well my summer as officially started and will mainly go by in implementing various wavelet based applications for GIMP. This what this blog is about and I will mainly discuss various things I am implementing. A rough proposal for the same can be found here. I have already started working on making a jpeg2000 plug-in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=3&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> Well my summer as officially started and will mainly go by in implementing various wavelet based applications for GIMP.  This what this blog is about and I will mainly discuss various things I am implementing.  A rough proposal for the same can be found <a href="http://www.ece.utexas.edu/~vats/soc_deebu.htm">here</a>.
</p>
<p>  I have already started working on making a jpeg2000 plug-in using libraries provided by the <a href="http://www.ece.uvic.ca/~mdadams/jasper/">Jasper project</a>.  So far I have installed vmware on my windows and got an ubuntu system working for the necessary development.  I have installed the jasper libraries and have gone over the jpeg2000 paper that they have provided.  I tried using the code on some test images and it seems to be working fine.  One thing which bugs me is that on convering an image to jpeg2000, there are no parameters that I can input.  I was guessing there would such an option depending on how much wavelet coefficient to choose.  I may have to go over the manual to see what is going on there.  Other than that the libraries seem to be well written and documented so I should not have trouble using them.  After doing some more reading today, tomorrow I will look more closely at the given code and hopefully get something useful out of it so that.  Then I will start learning how to write a GIMP plug-in and then things should move along well.  I am really excited on learning on how to write plug-in as its been a while since I have done some hardcore C programming.  The past year has been all Matlab realted stuff.  Well I am officially an engineer now, so theoretically I should not have problems..or will I!!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/deebuv.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/deebuv.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/deebuv.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/deebuv.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/deebuv.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/deebuv.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/deebuv.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/deebuv.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/deebuv.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/deebuv.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/deebuv.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/deebuv.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/deebuv.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/deebuv.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/deebuv.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/deebuv.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deebuv.wordpress.com&amp;blog=240627&amp;post=3&amp;subd=deebuv&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deebuv.wordpress.com/2006/05/26/the-start-of-summer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dd539fdde13d58e7412a018197d1ae7f?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Deebu</media:title>
		</media:content>
	</item>
	</channel>
</rss>
