Monthly Archives: July 2010


Need to read raw images for my project. I found lots of open source packages on line, but it still needs many efforts to read and incorporate the code. Then I remember that TIFF has 16 bit version, maybe I could convert raw to 16bit tiff, which could still give me enough information about the scene, since normally raw images have 12 or 14 bits for each pixel. This sounds convenient and effortless. However, after a few experiments, I found that 16 bit tiff still loses lots of information about the scene. Mainly because when you convert raw to tiff, you have to do demosaicing, white balancing, sharpening and gamma correction for viewing (maybe). This process will inevitably truncate some head room gained by using raw format when comparing with jpeg. That is why people says “stay in Lightroom for as long as you can” (or the equivalent “do as much in ACR as you can)”), as all edits in Lightroom are nondestructive and non-cumulative.

For a detailed investigation, please check out these posts,


content management system

Long time ago, I tried to set up a blog website on my desktop, since I have static IP at school. Now this could be done very easily by some content management systems. The three most popular CMS are wordpress, drupal, and joomla. Drupal is developer friendly, and hard to setup. WordPress is perfect for me. Easy to setup, and the functionality is enough for my use. It only took me several hours to set up it, although I still haven’t figured it out how to upload images. Anyway, it works fine to me. One good article about the difference between these CMS could be found at: Actually you could also use pmwiki, the one used by our department.

SVN Tutorial for Unix

A very good detailed svn tutorial for linux.

I found it is very easy to setup svn repository in Linux if only one person is going to use it. Under windows, I have to configure apache+subversion server on my desktop, and use TortoiseSVN to commit/update from my laptop. While in Linux, you just need to type a couple of commands. From laptop, you can access the code repository by using svn+ssh://url.of.desktop/home/user/svn project“. It is super convenient, no surprising as usual.