Login  Register

Re: thumbnail quality

Posted by Wayne Rasband on Dec 07, 2005; 2:58am
URL: http://imagej.273.s1.nabble.com/thumbnail-quality-tp3704288p3704289.html

> I am using ImageJ Java API to create thumbnails.  It seems like the
> quality gets worse as the image gets smaller.  Is there a way to  
> enhance
> the image quality?

Try the Averaging Reducer plugin at "http://rsb.info.nih.gov/ij/ 
plugins/reducer.html". If you can't use a plugin, try smoothing the  
image, reducing it and then enhancing the contrast. Here is a macro  
that does this:

    run("Duplicate...", "title=Thumbnail");
    run("Gaussian Blur...", "radius=2");
    run("Size...", "width=100 height=100 constrain interpolate");
    run("Enhance Contrast", "saturated=0.1");

-wayne