Category: Image Processing

Converting AVI to grayscale PNG for easier analysis/viewing

An example of a large pixel-count AVI is the Dahlgren et al 2013 article on auroral bursts. This was taken with a 2560×2160 Andor Neo sCMOS camera and this video has 351 frames. You can try this process to keep in a more widely-compatible MJPEG motion JPEG AVI format, or alternatively you can convert each […]

Cinepak videos in ImageJ

If someone has sent you an AVI file with Cinepak compression, you may find that ImageJ/FIJI and other contemporary software cannot read the AVI file. There are two plugins that attempt to address this for ImageJ: But I found neither of them to work for me on the particular AVI Cinepak video I […]

ImageJ / FIJI: saving multi-frame FITS files from stack

Note, when you have a “stack” of image data open in ImageJ / FIJI, you can save it as FITS by just doing File>save and typing myFile.fits for the filename. You see, I tried doing File>Save As>FITS, but that only saves the FIRST frame (and that’s all). This has been so for quite some time, […]

AIDA tools

For those interested in working with data from ASK/ALIS or just seeing how some interesting 3D tomography works, there is a Matlab toolbox at: or using Subversion, type at Terminal: svn co “” AIDA_tools Installation: 1) cp ~/AIDA_tools/AIDA_startup.m ~/matlabTools/ (or wherever you keep your frequently used scripts) 2) edit this ~/matlabTools/AIDA_startup.m file and make […]

Ubuntu 12.10: Compiling POV-Ray 3.7: prerequisite packages

It’s handy to use Synaptic Package Manager to get these. or type in Terminal: sudo apt-get install libboost-dev libboost-thread-dev zlib1g-dev libpng12-dev libjpeg-dev libtiff5-dev libopenexr-dev libsdl1.2-dev Note: if using Ubuntu 12.04, get libtiff4-dev instead of libtiff5-dev

ImageMagick suggested compile options

These options were used to compile ImageMagick 6.7.9-3 and 6.8.0-4. Before compiling, I urge you to ensure libjasper-dev is installed, so that you can manipulate JPEG2000 images. Try typing: sudo apt-get install libjasper-dev libpng-dev Then, type: ./configure –with-modules –with-gslib –with-wmf –with-perl –with-rsvg –with-gvc Note: you can add HDRI by adding this option above: –enable-hdri […]

Compute & Display Histogram with Imagemagick

In Terminal/Command Prompt, type: convert input.jpg histogram:png:- | display jpg:- where input.jpg is an image in ANY format that you want to display the histogram