Mar 22

Often, you’ll have a sequence of image files from which you’d like to make a movie that plays in PowerPoint for presentations. The best way I’ve found to do this is to create Windows Media files. Here is the recipe I’ve found that works well using Windows XP. You’ll need to download ImageJ and Windows Media Encoder. Your mileage may vary.

  1. Open ImageJ (version 1.41 or above is recommended). Load the sequence (File->Import->Image Sequence…). The length of the videos you can create is limited with this method, but it works well enough for videos that are under 10 seconds long. You should be able to encode longer still frame sequences by opening the image sequence as a virtual stack.
  2. Crop the video so that the width and height of the videos are even numbers. Otherwise, Windows Media Encoder will save that the AVI is not valid.
  3. Save the image sequence as an AVI file (File->Save As->AVI…). Choose JPEG as the compression method and set the quality to 100. Set the frame rate to something reasonable (e.g. 10, 15, 30 fps).
  4. Open Windows Media Encoder. In the New Session wizard, choose “Convert a file”. Set the source file to the AVI you exported from ImageJ. Set the output file to the name you want. Click next. Choose the type of content distribution you are targeting. For playback in PowerPoint, choose “File download (computer playback)”. Click next. This will result in the highest quality video. Under encoding options, choose something suitable. I choose “High definition quality video (5 Mbps VBR)”. Click next. Name the video and click next. Under the “Settings Review” panel, uncheck the “Begin converting when I click Finish” checkbox and click Finish.
  5. Before doing anything else, we’ll change the size of the output video. Click on the “Properties” button in the toolbar at the top of the application window. Click on the “Video Size” tab. Under the “Crop” settings, choose method “Custom”. Under the “Resize” settings, choose “No resizing” unless you want the video to be resized. When finished, click “Apply”.
  6. Finally, click the “Start Encoding” button in the toolbar. You’ll see a preview of your video as the encoding proceeds.

That’s it. Now test out your video in PowerPoint and make sure it plays in presentation mode.

Dec 14

I have released version 1.0 of the Clarity deconvolution library. Clarity is an open-source C/C++ library implementing many of the common deconvolution algorithms used in fluorescence microscopy. It is designed specifically for processing 3D images generated from optical sectioning microscopy. Clarity uses multithreaded algorithms to make full use of all the cores on modern multi-core computer systems. For even greater performance, the deconvolution algorithms can optionally run on commodity graphics processing units that feature hundreds of computing cores. Support for acceleration on graphics processing units is currently available on NVIDIA graphics cards.

Nov 09

The Original Q Shack is a great place in Durham to get classic North Carolinian barbeque. They offer pulled pork, chopped or shredded brisket, and smoked turkey sandwiches and plates. Sandwiches come with a side and hush puppies while plates substitute an additional side for the sandwich bread. Sides include baked beans, cole slaw, onion rings, french fries, mac and cheese, and some others.

You can find the Original Q Shack here:


View Larger Map