Posted by
Michael Schmid on
Apr 17, 2008; 4:51pm
URL: http://imagej.273.s1.nabble.com/Reading-24bit-AVI-files-tp3696450p3696451.html
Hi Simon,
currently I am working on improving the "standard" ImageJ
AVI_Reader plugin (not the bioformats code).
You could try my current version - I have put it online at
http://www.iap.tuwien.ac.at/www/surface/tmp/AVI_Reader.javaIt does not allow you to read part of an AVI file, only the
whole file (so you need plenty of memory for long movies).
If my plugin does not read the file correctly, you could
try with debug mode (Edit>Options>Misc) switched on and send
the log to me - I can't promise anything, but maybe I find the
reason for the problem.
Michael
________________________________________________________________
On 17 Apr 2008, at 15:50, Simon Andrews wrote:
> 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.