Reading 24bit AVI files
Posted by
simon andrews (BI) on
Apr 17, 2008; 1:50pm
URL: http://imagej.273.s1.nabble.com/Reading-24bit-AVI-files-tp3696450.html
I'm trying to read AVI files using ImageJ and the BioFormats
AVIReader. I'm basically doing exactly what's shown at:
https://skyking.microscopy.wisc.edu/trac/java/browser/trunk/utils/
Read_Image.java
To try to turn an AVI into an ImagePlus object.
This works fine with 8bit AVI files, but 24bit AVIs are getting
messed up. When I read them with AVIReader then getImageCount
returns only 1/3 of the expected number of images (180 instead of
540), and although I can transform the 180 images into an ImageStack,
it looks corrupted (maybe because it has 3 images overlaid in each
slice?).
ImageJ itself can open these files and displays the right number of
slices (although it incorrectly reports them as 8bit), but I don't
know what it's doing which isn't in the plugin example code.
Does anyone here know how to do this successfully.
Thanks
Simon.