Capturing Linear Images
01 July 2009
In a recent project, I had to capture and process linear images. In a linear image, the value at every pixel is directly related to the number of photons received at that location on the sensor. While most people do not have to worry about linearity, and in fact, consumer cameras apply nonlinear response curves to the captured data, scientists often derive relationships that assume linearity. In this post, I describe several methods for achieving linear images and describe a few pitfalls that I encountered while attempting to capture linear images.Read more...
Redirecting Old Websites
16 May 2009
I have been gone from Dartmouth for over a year and my website has remained active but somewhat broken due to neglect. It turns out that some of the blogs on that site are on the first page of google search results for related keywords. When my Dartmouth site finally goes away, it would be a shame if users encountered 404 errors when trying to access pages. I did some quick searching for the best way to redirect a page to a new location and it seems that a 301 redirect is a good option. I wrote a python script to redirect all the html pages on my site to their new urls and this script might be useful for other people facing the same problem.Read more...
Photoshop + MATLAB
14 March 2009
As a researcher who works with digital images, I have two programs open all day long: Photoshop and MATLAB. Since Photoshop CS3 came out about two years ago, I have been increasingly using both programs together. I frequently send images to Photoshop from MATLAB and also read images back into MATLAB from Photoshop. In this post, I give a demonstration of some of my favorite ways to use these programs together.Read more...
Static Websites using Webby
27 January 2009
Until recently, the pages of this site were generated by the Joomla content management system (CMS). There were a number of reasons I initially chose a CMS for this site, including the ease of adding new content and the flexibility of being able to view the content in different ways. But over the last few months, I have become concerned by the idea that my content lives in a database in some unknown format, and that if I switch hosting services it may be complicated to migrate to another system. Also, a CMS is overkill for a site like this, where the content is static and updates are (unfortunately) few and far between.