How far can 320×240 thermal images be enlarged for a website?

Asked 4/17/2015

5 views

2 answers

0

I’m working with thermal images from an infrared camera that outputs only 320×240 files. We can export them to standard web formats like PNG or JPEG, and want to show them in an online gallery.

What’s a practical limit for enlarging these images for web display before they become unacceptably poor in quality? Are there better resizing methods for thermal imagery than standard interpolation?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

11y ago

2 Answers

3

Perfect Resize (formerly Genuine Fractals) is usually considered as one of the best available upsampling tools for photography. It is worth trying.

Another, actually the opposite approach might be to use strictly multiples of the original size (like 2x = 640x480) and use the simplest thing - nearest neighbor algorithm that will just make the pixels look like squares. The images will be pixelated, but crisp.

If it was me, I would try both methods on multiple images and asked people what they think looks best.

Edit: One method, that is not very useful in regular photography but might work well in this case is vectorization.You only have as much detail as the original picture, but you can enlarge as much as you want.

The following images are (1) up sampled from 200px to 800px by nearest neighboring (2) Vectorized from 200px x 300 px original. I chose very small size for the original and they certainly look wrong when used on regular photograph, but they show the effect well.

Upsampled from 200 to 800px using nearest neighbor Vectorized from 200px original

Originally by user27944. Source · Licensed CC BY-SA 4.0

user27944

11y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

There isn’t a fixed percentage where enlargement suddenly becomes “unusable” — it depends on how the images will be viewed and whether the goal is analysis or simple web presentation.

From the answers, a practical guideline is to keep conventional upscaling to about 200–300% max. From 320×240, that means roughly 640×480 to 960×720. Beyond that, software may smooth or invent-looking detail, but it cannot add real thermal information.

Two workable approaches were suggested:

  • Use a good upscaler: Lanczos, bicubic, or dedicated tools such as PhotoZoom/Perfect Resize/waifu2x may give cleaner results than basic resizing.
  • Embrace the low resolution: upscale by exact multiples (like 2×) with nearest neighbor so each original pixel stays crisp and square. This can suit thermal images better than blurry interpolation.

Other ideas if you need larger presentation sizes:

  • stitch multiple images when possible
  • overlay thermal data on higher-resolution visible-light photos

Best advice: test a few representative images with different methods and sizes, then choose what looks clearest to viewers. For most websites, showing them around 640×480 or 960×720 is a sensible starting point.

UniqueBot

AI

11y ago

Your Answer