
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    	
	<title>Quest for quack by Anders Hoff</title>
  <atom:link href="http://andershoff.net/feed/" rel="self" type="application/rss+xml" />

  <link>http://www.andershoff.net</link>
    <description>Semi regular drawings and stuff by Anders Hoff.</description>
    <pubDate>Fri, 18 Jun 2010 00:42:48 +0100</pubDate>
  <item>
	
	<title>meh</title>
	<link>http://andershoff.net/home/meh/</link>
	<guid>http://andershoff.net/home/meh/</guid>
	<pubDate>Fri, 18 Jun 2010 00:42:48 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/meh.png" /><br />]]></description>
	</item>
	<item>
	
	<title>built-in function</title>
	<link>http://andershoff.net/home/built-in_function/</link>
	<guid>http://andershoff.net/home/built-in_function/</guid>
	<pubDate>Mon, 14 Jun 2010 18:44:07 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/built-in_function.png" /><br /><p>
Anders' law: The longer you have spent trying to solve a particular problem in a programming language, the more likely it is that this programming language already has a built-in function to resolve just this problem. <br />
In addition the built-in function is likely to be devilishly hard to find, but ridiculously easy to locate once someone have shown it to you.
</p>
<p><i>Edit: I've done a few changes to the site today. Only one of which should be particularly visible for a few of you. The @font-face font I was using did not render at all well under Windows so I've change the font. I'm now using DroidSans and DroidSerif.</i>
<br /><i>The other change is that I've stopped using the, in my eyes, unnecessary prefix www on all sections on the site. So now all links to my site should read <a href="http://andershoff.net">http://andershoff.net</a> instead of <a href="http://www.andershoff.net">http://www.andershoff.net</a>. Both should still work though.</i></p>]]></description>
	</item>
	<item>
	
	<title>Too slow</title>
	<link>http://andershoff.net/home/too_slow/</link>
	<guid>http://andershoff.net/home/too_slow/</guid>
	<pubDate>Wed, 09 Jun 2010 02:16:50 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/Too_slow.png" /><br /><p>Blaarghh.</p>]]></description>
	</item>
	<item>
	
	<title>Run 2</title>
	<link>http://andershoff.net/home/run_2/</link>
	<guid>http://andershoff.net/home/run_2/</guid>
	<pubDate>Mon, 07 Jun 2010 00:56:23 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/Run_2.png" /><br /><p>I'm having my last exam this semester in 8 hours. </p>]]></description>
	</item>
	<item>
	
	<title>Stopp DLD</title>
	<link>http://andershoff.net/home/stopp_dld/</link>
	<guid>http://andershoff.net/home/stopp_dld/</guid>
	<pubDate>Sun, 09 May 2010 23:47:01 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/Stopp_DLD.png" /><br /><p>Sorry about the Norwegian. The image refers to the European Union's <a href="http://en.wikipedia.org/wiki/Data_Retention_Directive">Data Retention Directive</a>/<a href="http://no.wikipedia.org/wiki/Datalagringsdirektivet">Datalagringsdirektiv</a> currently up for discussion in Norway.</p>
<p>If you understand Norwegian and want to know more you can start at <a href="http://stoppdld.no/">stoppdld.no</a>.</p>]]></description>
	</item>
	<item>
	
	<title>jpeg</title>
	<link>http://andershoff.net/home/jpeg/</link>
	<guid>http://andershoff.net/home/jpeg/</guid>
	<pubDate>Wed, 28 Apr 2010 09:54:49 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/jpeg.png" /><br /><p>Yesterday I went to <a href="http://nettopp.ntnu.no/utskrift.php?kategori=nyheter&amp;dokid=4bcd5d1b815731.58728674">this</a> talk with <a href="http://en.wikipedia.org/wiki/Ingrid_Daubechies">Ingrid Daubechies</a>. In (very) short the talk was about the use if image analysis to collect information about paintings. For instance whether it would be possible to separate a fake Van Gogh painting from a bunch of original ones.</p><p>
In addition she gave a short introduction to the principles used in the <a href="http://en.wikipedia.org/wiki/JPEG_2000">jpeg2000</a> compression algorithm, as these principles share quite a lot with the theory used to do the previously mentioned image analysis.
</p><p>
The above image is a very simplified illustration of the first level of such a compression made in MATLAB. Basically what you see is the average of squares of four and four pixels from the original image in the top left image. As well as the difference from the average to the top right, lower left and bottom right pixels in the same square. Each of these difference can be seen in the corresponding image with a black background. The white lines in the three black images represent areas of the original image where there is a big difference in contrast. In short the lower left image will to a greater degree represent vertical changes in contrast, whereas the bottom right will indicate diagonal changes in contrast and similarly for the top right image only with horizontal changes in contrast instead.</p>

<p>
These four images contain almost enough information to reconstruct the original image with the same total resolution as the four images above. It does not, however, require as much storage, as the black areas in the three black images does not need to be stored. If this process is repeated an adequate number of times you will get a (in my case) simple version of the jpeg2000 compression. The original algorithm is quite a lot more sophisticated off course. 
</p><p>
Also I should probably note that the above image is not the best image to be stored in jpeg format as the lossless <a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics">png</a> format for instance still will require a lot less space without losing any information in the process. The idea is still illustrated nicely though.
</p>]]></description>
	</item>
	<item>
	
	<title>To chair</title>
	<link>http://andershoff.net/home/to_chair/</link>
	<guid>http://andershoff.net/home/to_chair/</guid>
	<pubDate>Wed, 14 Apr 2010 20:07:59 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/To_chair.png" /><br /><p>A few examples of how not to chair.</p>
<p>And I survived Brazil by the way. Some pictures can be seen <a href="http://www.flickr.com/photos/shall_be_lifted/sets/72157623709814505/">here</a>.</p>]]></description>
	</item>
	<item>
	
	<title>Awkward</title>
	<link>http://andershoff.net/home/awkward/</link>
	<guid>http://andershoff.net/home/awkward/</guid>
	<pubDate>Sun, 14 Mar 2010 23:31:47 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/Awkward.png" /><br /><p>Only a few days until I'm leaving for Brazil. That is all.</p>]]></description>
	</item>
	<item>
	
	<title>Finish quantum</title>
	<link>http://andershoff.net/home/finish_quantum/</link>
	<guid>http://andershoff.net/home/finish_quantum/</guid>
	<pubDate>Mon, 08 Mar 2010 22:46:05 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/Finish_quantum.gif" /><br /><p>I wonder what went through their minds before they started marketing a dishwasher detergent under the name <i>Finish Quantum</i>?</p>]]></description>
	</item>
	<item>
	
	<title>To internet</title>
	<link>http://andershoff.net/home/to_internet/</link>
	<guid>http://andershoff.net/home/to_internet/</guid>
	<pubDate>Mon, 01 Mar 2010 23:29:49 +0100</pubDate>
	<description><![CDATA[ <img src="http://andershoff.net/toon/To_internet.gif" /><br /><p>- That is the question.</p>]]></description>
	</item>
	  </channel>
  </rss>
  
	
