Re: Image Browser plugin
Posted by
Kurt De Vos on
Dec 19, 2005; 11:34am
URL: http://imagej.273.s1.nabble.com/Image-Browser-plugin-tp3704180p3704186.html
Seems to work fine on OSX.
I might take some of the code and try to implement some kind of
preview function in my ImageViewer plugin.
kurt
On 18 Dec 2005, at 23:00, Gabriel Landini wrote:
> On Sunday 18 December 2005 21:31, Jon Harman wrote:
>> I gave it a try, but even a small (for me) directory of images
>> takes too
>> long to load. System (win 2000 with 512M memory) grinds to a halt,
>> probably because of memory disk swapping.
>
> I really like the browser idea, although I also found very slow
> loads in
> linux.
>
> I wonder if adding some options would reduce the slow load, for
> example:
> option to avoid doing recursive search of directories,
> option to load only the first slice of a stack,
> option to create a smaller thumbnail rather than the full size
> collage.
>
> In one computer it gave me this error when compiled for the first
> time:
>
> java.lang.NullPointerException
> at Image_Browser$IBImage.<init>(Image_Browser.java:748)
> at Image_Browser$IBImage.<init>(Image_Browser.java:740)
> at Image_Browser.extractIBImage(Image_Browser.java:275)
> at Image_Browser.browse(Image_Browser.java:152)
> at Image_Browser.browse(Image_Browser.java:160)
> at Image_Browser.browse(Image_Browser.java:160)
> at Image_Browser.browse(Image_Browser.java:160)
> at Image_Browser.browse(Image_Browser.java:160)
> at Image_Browser.browse(Image_Browser.java:160)
> at Image_Browser.run(Image_Browser.java:74)
> at ij.IJ.runUserPlugIn(IJ.java:271)
> at ij.ImageJ.runUserPlugIn(ImageJ.java:216)
> at ij.plugin.PlugInExecuter.run(Compiler.java:188)
> at java.lang.Thread.run(Thread.java:595)
>
> and the second time it run but then froze IJ after loading 22 images.
> (There was a huge frame with 22 images in it, but otherwise empty).
> The system monitor showed near 100% CPU load and near 100% cached
> memory use.
> (I had to kill the java process to end IJ).
>
> I eventually run successfully on a directory with 5 or 6 images,
> but it was
> very slow. Not sure what the problem really is.
>
> Albert Cardona wrote:
>> I use it to instantly browse 700MB of several image
>> sequences in CDs.
>
> But isn't the plugin loading the whole 700MB of images? Can one
> really browse
> "instantly" the whole contents?
> What amount of memory do you assign to IJ?
>
> Cheers,
>
> Gabriel
*--*--*--*--*--*--*--*--*--*--*--*--*--*
University of Sheffield
Academic Neurology Unit
Division of Genomic Medicine
E Floor, Medical School
Beech Hill Road
Sheffield
S10 2RX
United Kingdom
Tel: ++44 (0) 114 271 2473
Fax: ++44 (0) 114 226 1201
Email:
[hidden email]
*--*--*--*--*--*--*--*--*--*--*--*--*--*