CleVR Actionscript libraries now on RIAForge

I’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 you do standard matrix algebra stuff, and includes support for singular value decomposition and QR decomposition.

There’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 “Auto levels” in Photoshop, or “Enhance” in iPhoto.

You will find them here. They’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’re using it.

2 Responses to “CleVR Actionscript libraries now on RIAForge”

  1. Todd Watson Says:

    Love the AIR app and thanks for providing some great code resources, done so well! I noticed that you auto-orient the image based on the EXIF data and was looking for a class to do this in my own AIR app. I was wondering if you would share that class or if it is pretty much Kevin Hoyt’s code? It seems like that would be a great utility class for AIR for loading client JPGs. Does it require that you do two load calls on the JPG or are you able to load the image and get the EXIF out of the same call?

    Todd

  2. matt Says:

    Hi,
    Glad you like it! We do have our own class, but it’s based on Kevin Hoyt’s code. I essentially turned it into a slightly more general class, allowing access to the values rather than just dumping them. The class is a bit of a mess though, and only works on some photos - ones with embedded thumbnails in particular can confuse it. I am planning on cleaning it up and adding it to the library.

Leave a Reply