Image rescaling algorithms

Image rescaling algorithms

Post by Lauren » Sat, 05 Jul 2003 00:01:00


My Java application [1] converts websites to Plucker documents for
offline reading on handhelds. One of its tasks is to rescale images to
make them fit on a Palm screen, the resolution of which is typically
160x160 or 320x320.

To rescale images to thumbnails, I use a bilinear filter from the Java
2D class library. This filter gives a slightly fuzzy look to the
thumbnail images because pixels are blended to give a smooth,
anti-aliased look.

The problem with this approach is that the thumbnail image data does not
lend itself well to compression because of the increase in colors
created by the bilinear filter.

Now I'm looking for a rescaling algorithm that does not create as many
colors as bilinear filter but offers better quality than the the nearest
neighbor algorithm (the other filter offered by Java 2D), which is too
coarse and tends to "drop" pixels.

Any ideas for rescaling algorithms?




1. Help: Rescaling objects AND rescaling the trajectories as well

I have a forensic animation of a couple of cars. The units are all
messed up, and I would like to rescale EVEYTHING by a percentage factor;
only when I do that, the objects get scaled down, but the paths or
trajectories remain big and out of proportion.

How can I scale everything at the same time by the same factor?

Thanks for your help,

Santiago Gomez

*remove the NO SPAM from the email address to reply...

2. Playing FLI/FLC files

3. Rescaling algorithm contained in Graphics Gems III

4. Multi viewport rendering in GL

5. Question: View GIFs on a PC

6. Rescaling images

7. Texture Mapping 2

8. C/C++ Source code for filtered Image Rescaling

9. Image rescaling

10. bicubic image rescaling/resizing routine wanted

11. automated rescaling of images

12. Fast 3D algorithm: seeks HSR algorithms for graphic images