<?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>CleVR » Panoramic photography and image stitching blog &#187; graphics</title>
	<atom:link href="http://www.clevr.com/blog/category/graphics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clevr.com/blog</link>
	<description>Panoramic photography, virtual tours and stitching software</description>
	<lastBuildDate>Wed, 22 Jul 2009 18:24:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Actionscript 3 vector speedups</title>
		<link>http://www.clevr.com/blog/2008/actionscript-3-vector-speedups/</link>
		<comments>http://www.clevr.com/blog/2008/actionscript-3-vector-speedups/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 09:02:34 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[maths]]></category>
		<category><![CDATA[panoramas]]></category>
		<category><![CDATA[Stitcher]]></category>
		<category><![CDATA[Stitching software]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/?p=82</guid>
		<description><![CDATA[Mike Chambers has posted a comparison between the performance of AS3 arrays and the new Vectors available in Flash Player 10. The results look good: he managed a 60% speedup. This is very exciting for us at CleVR, because of the potential impact it has on the Stitcher in particular. This uses massive Arrays and [...]]]></description>
			<content:encoded><![CDATA[<p>Mike Chambers has posted <a href="http://www.mikechambers.com/blog/2008/09/24/actioscript-3-vector-array-performance-comparison/">a comparison</a> between the performance of AS3 arrays and the new Vectors available in Flash Player 10. The results look good: he managed a 60% speedup. This is very exciting for us at CleVR, because of the potential impact it has on the Stitcher in particular. This uses massive Arrays and lots of nested loops which seem to be just the kind of thing that would benefit from this. I haven&#8217;t had a chance to do any benchmarking of my own (hard at work on CleVR Pro) but when I do I&#8217;ll post another entry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/actionscript-3-vector-speedups/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Resizing Actionscript images with bicubic or bilinear interpolation</title>
		<link>http://www.clevr.com/blog/2008/resize-actionscript-bicubic-bilinear-interpolation/</link>
		<comments>http://www.clevr.com/blog/2008/resize-actionscript-bicubic-bilinear-interpolation/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 08:19:03 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[clevrlib]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[maths]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2008/resize-actionscript-bicubic-bilinear-interpolation/</guid>
		<description><![CDATA[I&#8217;ve had a few people contact me to ask about how to use clevrlib to resize images with bicubic or bilinear interpolation in Flash or Flex, so I&#8217;ll give an overview of how to do this. The InterpolatedBitmapData class adds the methods getPixelBicubic and getPixelBilinear to the BitmapData class, which allows you to fetch the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a few people contact me to ask about how to use <a href="http://clevrlib.riaforge.org/">clevrlib</a> to resize images with bicubic or bilinear interpolation in Flash or Flex, so I&#8217;ll give an overview of how to do this. </p>
<p>The InterpolatedBitmapData class adds the methods <code>getPixelBicubic</code> and <code>getPixelBilinear</code> to the BitmapData class, which allows you to fetch the colour of a point that&#8217;s not on a pixel boundary. We use this when reprojecting the source images in the CleVR Stitcher, but it can work just as well for resizing an image. Bear in mind that bicubic is a lot slower than bilinear, and the quality improvement isn&#8217;t usually worthwhile. However, you&#8217;re welcome to switch to getPixelBicubic if you need to. </p>
<p>The basic method I&#8217;m using here for resizing is to loop through the pixels of the output image, getting the equivalent pixels in the source image. As these are found by multiplying by the ratio between the source and output sizes, the coordinates probably won&#8217;t be integers. Using regular getPixel would require rounding, and therefore give a jagged (aliased) output. The getPixelXxx methods let you pass them a Number, which needn&#8217;t be an integer, giving a much smoother result. </p>
<p>The sample code below shows a way of resizing an image using this method. The InterpolatedBitmapData should be created in the same way as a BitmapData, such as by <code>draw()</code>ing a loader onto it. The example I&#8217;ve shown below is an Event.COMPLETE handler for a Loader.  Code below the cut.<br />
<span id="more-65"></span></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">source</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">IBitmapDrawable</span> = event.<span style="color: #004993;">target</span>.<span style="color: #004993;">loader</span>;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> original<span style="color: #000000; font-weight: bold;">:</span>InterpolatedBitmapData = <span style="color: #0033ff; font-weight: bold;">new</span> InterpolatedBitmapData<span style="color: #000000;">&#40;</span><span style="color: #004993;">source</span>.<span style="color: #004993;">width</span>, <span style="color: #004993;">source</span>.<span style="color: #004993;">height</span><span style="color: #000000;">&#41;</span>;
original.<span style="color: #004993;">draw</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">source</span><span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #3f5fbf;">/* The size of the output image */</span>
<span style="color: #6699cc; font-weight: bold;">var</span> newWidth<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span> = <span style="color: #000000; font-weight:bold;">100</span>;
<span style="color: #6699cc; font-weight: bold;">var</span> newHeight<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span> = <span style="color: #000000; font-weight:bold;">200</span>;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> resized<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">BitmapData</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">BitmapData</span><span style="color: #000000;">&#40;</span>newWidth, newHeight<span style="color: #000000;">&#41;</span>;
&nbsp;
<span style="color: #6699cc; font-weight: bold;">var</span> xFactor<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = original.<span style="color: #004993;">width</span> <span style="color: #000000; font-weight: bold;">/</span> newWidth;
<span style="color: #6699cc; font-weight: bold;">var</span> yFactor<span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">Number</span> = original.<span style="color: #004993;">height</span> <span style="color: #000000; font-weight: bold;">/</span> newHeight;
&nbsp;
<span style="color: #3f5fbf;">/* Loop through the pixels of the output image, fetching the equivalent pixel from the input*/</span>
<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span> = <span style="color: #000000; font-weight:bold;">0</span>; <span style="color: #004993;">x</span> <span style="color: #000000; font-weight: bold;">&lt;</span> newWidth; <span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
    <span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #004993;">int</span> = <span style="color: #000000; font-weight:bold;">0</span>; <span style="color: #004993;">y</span> <span style="color: #000000; font-weight: bold;">&lt;</span> newHeight; <span style="color: #004993;">y</span><span style="color: #000000; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
        resized.<span style="color: #004993;">setPixel</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">x</span>, <span style="color: #004993;">y</span>, original.getPixelBilinear<span style="color: #000000;">&#40;</span><span style="color: #004993;">x</span> <span style="color: #000000; font-weight: bold;">*</span> xFactor, <span style="color: #004993;">y</span> <span style="color: #000000; font-weight: bold;">*</span> yFactor<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
    <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/resize-actionscript-bicubic-bilinear-interpolation/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Tucows on how to use CleVR</title>
		<link>http://www.clevr.com/blog/2008/tucows-on-how-to-use-clevr/</link>
		<comments>http://www.clevr.com/blog/2008/tucows-on-how-to-use-clevr/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 06:58:10 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[Hotspot Editor]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[panoramas]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[Stitcher]]></category>
		<category><![CDATA[Stitching software]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[Viewer]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2008/tucows-on-how-to-use-clevr/</guid>
		<description><![CDATA[There&#8217;s a great article over on Tucows about how to use CleVR to create and share panoramas. In fact, I&#8217;d go as far to say that it&#8217;s better than our own documentation! Go and take a look, and if you like it then Digg the article.]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a <a href="http://www.tucows.com/article/2190">great article over on Tucows</a> about how to use CleVR to create and share panoramas. In fact, I&#8217;d go as far to say that it&#8217;s better than our own documentation! Go and <a href="http://www.tucows.com/article/2190">take a look</a>, and if you like it then <a href="http://digg.com/software/How_To_Create_and_Share_Photo_Panoramas">Digg the article</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/tucows-on-how-to-use-clevr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CleVR Stitcher update fixes Sony support</title>
		<link>http://www.clevr.com/blog/2008/clevr-stitcher-update-fixes-sony-support/</link>
		<comments>http://www.clevr.com/blog/2008/clevr-stitcher-update-fixes-sony-support/#comments</comments>
		<pubDate>Fri, 23 May 2008 11:45:31 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[panoramas]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[Stitcher]]></category>
		<category><![CDATA[Stitching software]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2008/clevr-stitcher-update-fixes-sony-support/</guid>
		<description><![CDATA[The CleVR Stitcher uses EXIF tags embedded in the source images to calculate how the images should be warped before stitching. There is a hopeless lack of standardisation in these tags, so we have to use several different techniques to support photos from different camera manufacturers. Sony is the worst, as they do not provide [...]]]></description>
			<content:encoded><![CDATA[<p>The CleVR Stitcher uses EXIF tags embedded in the source images to calculate how the images should be warped before stitching. There is a hopeless lack of standardisation in these tags, so we have to use several different techniques to support photos from different camera manufacturers. Sony is the worst, as they do not provide enough information to enable us to make the calculation. This means that we have to use a different method to make an educated guess. However, a bug in the previous version of the Stitcher meant that Sony images would not stitch at all. Thanks to a bug report by user <a href="http://www.clevr.com/user/benbreeze">benbreeze</a> this is now fixed. I have also fixed another bug in the self-updater. You can <a href="/stitcher">upgrade to the new version here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/clevr-stitcher-update-fixes-sony-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Important CleVR Stitcher update</title>
		<link>http://www.clevr.com/blog/2008/important-clevr-stitcher-update/</link>
		<comments>http://www.clevr.com/blog/2008/important-clevr-stitcher-update/#comments</comments>
		<pubDate>Sat, 17 May 2008 10:19:27 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[panoramas]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[Stitcher]]></category>
		<category><![CDATA[Stitching software]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2008/important-clevr-stitcher-update/</guid>
		<description><![CDATA[It&#8217;s been a while since the CleVR Stitcher was updated as I&#8217;ve been working on some other important projects. I also had a much needed holiday! Today I have released a new version that fixes lots of bugs which have been reported over the past month or so. It also makes some hopefully significant improvements [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since the CleVR Stitcher was updated as I&#8217;ve been working on some other important projects. I also had a much needed holiday! Today I have released a new version that fixes lots of bugs which have been reported over the past month or so. It also makes some hopefully significant improvements to the stitching algorithms. If you had problems with poor stitches in the past, then give it another try as it should do better. The improvements are mostly related to common problems in panoramas that have been shot by hand without a tripod. </p>
<p>Thank you everyone who <a href="/contact/">submitted bug reports</a>. They have bee very helpful. This release should fix all of the most commonly reported problems. See below for a list of updates, and important information on installing the update.<br />
<span id="more-61"></span></p>
<p><strong>Important:</strong> If you have previously installed the CleVR Stitcher you will need to uninstall it before upgrading. You also cannot use the self-update feature of the old Stitcher for this upgrade. This is because we have a new code signing certificate with a new company name, CleVR Ltd. To uninstall on Windows, go to Add/Remove Programs and remove CleVR Stitcher. On a Mac, go to the Applications folder and drag &#8220;CleVR Stitcher&#8221; to the Trash. You can then install as usual.</p>
<div style='text-align: center'><iframe style='border: 0' width='250' height='200' src='http://www.clevr.com/stitch/badge.html' scrolling='no'></iframe></div>
<p>Bugs that have been fixed include:</p>
<ul>
<li>Large images that when resized were over 1MB were failing to load. This was by far the commonest problem reported and should work now. If anyone still has problems with images loading then do please let me know.</li>
<li>Drag and drop was not working for lots of users.</li>
<li>Some users on Windows reported that it was repeatedly trying to access the floppy drive.</li>
<li>In a small number of cases it would freeze when the Stitch button was pressed.</li>
<li>EXIF focal length data was being ignored on some Nikon images.</li>
<li>The first image of a panorama was misaligned in many hand-shot images.</li>
<li>In a small number of images, the rotation was being ignored when stitching.</li>
</ul>
<p>Other enhancements include:</p>
<ul>
<li>Better feedback when reordering images.</li>
<li>JPEG encoding is asynchronous and gives feedback rather than freezing the screen.</li>
<li>Numerous improvements to the stitching algorithm.</li>
<li>Several improvements to the interface.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/important-clevr-stitcher-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Stitcher, new AIR</title>
		<link>http://www.clevr.com/blog/2008/new-stitcher-new-air/</link>
		<comments>http://www.clevr.com/blog/2008/new-stitcher-new-air/#comments</comments>
		<pubDate>Sun, 02 Mar 2008 10:56:35 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[Stitcher]]></category>
		<category><![CDATA[Stitching software]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2008/new-stitcher-new-air/</guid>
		<description><![CDATA[On Monday, Adobe AIR was officially launched. Of course, we&#8217;ve been using the beta version of AIR for the CleVR Stitcher for over six months now, but it&#8217;s good to see it go 1.0. This means that we&#8217;ve also released a new version of the Stitcher, which uses the latest version of AIR. You can [...]]]></description>
			<content:encoded><![CDATA[<p>On Monday, Adobe AIR was officially launched. Of course, we&#8217;ve been using the beta version of AIR for the CleVR Stitcher for over six months now, but it&#8217;s good to see it go 1.0. This means that we&#8217;ve also released a new version of the Stitcher, which uses the latest version of AIR. You can install it below, using the shiny new installer badge. It will update or install AIR for you if needed.</p>
<div style='text-align: center'><iframe style='border: 0' width='250' height='200' src='http://www.clevr.com/stitch/badge.html' scrolling='no'></iframe></div>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/new-stitcher-new-air/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New version of CleVR panoramic image Stitcher</title>
		<link>http://www.clevr.com/blog/2008/new-version-of-clevr-panoramic-image-stitcher/</link>
		<comments>http://www.clevr.com/blog/2008/new-version-of-clevr-panoramic-image-stitcher/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 15:04:08 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[panoramas]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[Stitcher]]></category>
		<category><![CDATA[Stitching software]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2008/new-version-of-clevr-panoramic-image-stitcher/</guid>
		<description><![CDATA[We&#8217;ve just released a new version of the CleVR Stitcher. This uses the new version of Adobe AIR, and also adds several features and fixes lots of bugs. If you download it, please do let me know what you think and if you have any problems with it.]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve just released a new version of the <a href="/stitcher">CleVR Stitcher</a>. This uses the new version of Adobe AIR, and also adds several features and fixes lots of bugs. If you <a href="/stitcher">download it</a>, please do let me know what you think and if you have any problems with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2008/new-version-of-clevr-panoramic-image-stitcher/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CleVR Actionscript libraries now on RIAForge</title>
		<link>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/</link>
		<comments>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 12:27:09 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[clevrlib]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[image processing]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[maths]]></category>
		<category><![CDATA[Stitcher]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/</guid>
		<description><![CDATA[I&#8217;ve put up the CleVR AS3 libraries on RIAForge, where you can download them as a zip file, or use the svn repository. The library includes a number of classes that we developed as part of the CleVR Stitcher. They include a set of matrix algebra classes, ported from the Java JAMA library. These let [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve put up the CleVR AS3 libraries on <a href="http://clevrlib.riaforge.org/">RIAForge</a>, where you can download them as a zip file, or use the svn repository.</p>
<p>The library includes a number of classes that we developed as part of <a href="http://www.clevr.com/blog/air-stitcher/">the CleVR Stitcher</a>. They include a set of matrix algebra classes, ported from the Java JAMA library. These let you do standard matrix algebra stuff, and includes support for singular value decomposition and QR decomposition.</p>
<p>There&#8217;s also some graphics classes. One is a subclass of BitmapData that adds bicubic and bilinear interpolation. Another is a class for calculating the histogram of an image, with methods to do histogram stretching. This gives results similar to &#8220;Auto levels&#8221; in Photoshop, or &#8220;Enhance&#8221; in iPhoto.</p>
<p>You will find them <a href="http://clevrlib.riaforge.org/">here</a>. They&#8217;re released under the Creative Commons attribution licence, which basically lets you do anything with them, so long as you give credit somewhere. A link to clevr.com would usually suffice. Let me know if you have any comments, patches, or if you&#8217;re using it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2007/clevr-actionscript-libraries-now-on-riaforge/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Bicubic and bilinear interpolation in Actionscript 3</title>
		<link>http://www.clevr.com/blog/2007/bicubic-bilinear-interpolation-actionscript/</link>
		<comments>http://www.clevr.com/blog/2007/bicubic-bilinear-interpolation-actionscript/#comments</comments>
		<pubDate>Mon, 02 Jul 2007 09:53:55 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Adobe AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Apollo]]></category>
		<category><![CDATA[CleVR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[maths]]></category>
		<category><![CDATA[panoramas]]></category>
		<category><![CDATA[Stitcher]]></category>
		<category><![CDATA[Stitching software]]></category>

		<guid isPermaLink="false">http://www.clevr.com/blog/2007/bicubic-bilinear-interpolation-actionscript/</guid>
		<description><![CDATA[For the second release of utility code from CleVR Stitcher, the Adobe AIR panoramic photo stitcher, I&#8217;m offering our InterpolatedBitmapData class. The class adds support for bicubic and bilinear interpolation to the Actionscript BitmapData class. It adds two public methods &#8211; getPixelBilinear and getPixelBicubic. You can call these with sub-pixel coordinates and it will interpolate [...]]]></description>
			<content:encoded><![CDATA[<p>For the second release of utility code from <a href="http://www.clevr.com/blog/2007/adobe-air-panoramic-photo-stitcher/">CleVR Stitcher</a>, the Adobe AIR panoramic photo stitcher, I&#8217;m offering our InterpolatedBitmapData class.<br />
The class adds support for bicubic and bilinear interpolation to the Actionscript BitmapData class. It adds two public methods &#8211; getPixelBilinear and getPixelBicubic. You can call these with sub-pixel coordinates and it will interpolate the RGB value for that point.  This should be useful for anyone doing more complex transformations than those offered by the Matrix class. I hope it will be useful to someone. Do let me know if you&#8217;re using it. As ever, a link back to clevr.com is appreciated but not required.</p>
<p>Download it as part of the <a href="http://clevrlib.riaforge.org/">CleVR Actionscript Library</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clevr.com/blog/2007/bicubic-bilinear-interpolation-actionscript/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

