Interpolation

What Does Interpolation Mean in Photography?

In photography, interpolation means estimating pixel values the camera didn't capture, used in demosaicing, resizing, digital zoom and lens corrections.

On this page
  1. The short answer
  2. Interpolation inside the camera: demosaicing
  3. Interpolation when you resize a photo
  4. Interpolated resolution and digital zoom
  5. Rotation, lens correction and other transforms
  6. Does interpolation reduce quality?
  7. How it connects to video

The short answer

In photography, interpolation means estimating the color and brightness of pixels that weren’t directly captured, using the pixels around them. It happens inside the camera when it builds a full-color image from the sensor, and again whenever you resize, rotate, straighten or correct a photo.

In other words, it’s educated guessing. Good interpolation is hard to notice; poor interpolation shows up as blockiness, softness, jagged edges or halos.

Interpolation inside the camera: demosaicing

Most digital camera sensors can’t record full color at every pixel. Instead, each photosite sits under a tiny colored filter and records only red, green or blue light. The most common layout is the Bayer pattern, which has twice as many green filters as red or blue, roughly matching how sensitive our eyes are to green.

That means each pixel in the raw data has one measured color and two missing ones. The camera, or your raw processing software, fills in the missing values by looking at neighboring photosites. This step is called demosaicing, and it’s a form of interpolation.

So every normal photo from a Bayer-sensor camera involves some interpolated color. Better demosaicing algorithms reduce problems like false color on fine patterns and zippered edges, which is one reason the same raw file can look slightly different in different editing programs.

Interpolation when you resize a photo

When you change a photo’s pixel dimensions, the software has to work out new pixel values:

  • Upscaling (making it bigger) needs new pixels between the existing ones.
  • Downsampling (making it smaller) needs to combine several pixels into one.

Photo editors usually let you choose the method:

  • Nearest neighbor: copies the closest pixel. It keeps hard edges but makes enlarged photos look blocky. Best for pixel art, screenshots and graphics with crisp lines.
  • Bilinear: averages nearby pixels. Smooth, but can look soft.
  • Bicubic: uses a larger neighborhood of pixels and generally gives smoother gradients and better detail than bilinear. Photoshop offers variants tuned for enlarging and reducing.
  • Detail-preserving and AI methods: newer options, such as Photoshop’s Preserve Details setting or AI “super resolution” features in tools like Lightroom and Camera Raw, try to keep edges and textures crisp when enlarging.

Downsampling usually looks fine because detail is being discarded rather than invented. Upscaling is where the method matters most, and even the best method can’t create real detail the camera didn’t record. AI upscalers can produce convincing texture, but it’s still a reconstruction, which matters if accuracy is important.

Interpolated resolution and digital zoom

You may see cameras, scanners or phone features described with an “interpolated” resolution. That usually means the image has been upscaled beyond what the sensor captured. The file is bigger, but it doesn’t have more real detail. When comparing gear, the native or optical resolution is the more meaningful number.

Digital zoom works the same way. The camera crops into the center of the frame, then enlarges the crop back to full size using interpolation. Optical zoom, by contrast, uses the lens to magnify the scene, so the sensor captures real detail. Some phones blend data from multiple frames or multiple cameras to improve digital zoom, but plain digital zoom on its own is crop plus interpolate.

Rotation, lens correction and other transforms

Whenever pixels don’t line up with the original grid, interpolation is involved. That includes:

  • Straightening a tilted horizon
  • Correcting lens distortion or perspective
  • Warping, liquify and transform tools
  • Panorama stitching

Each of these resamples the image. A single correction rarely causes visible harm, but repeating transforms over and over on a flattened image can gradually soften it. Working non-destructively, or applying transforms once, helps.

Does interpolation reduce quality?

Some interpolation is unavoidable and isn’t a problem: demosaicing is part of how digital photos work, and modest resizing is routine. Quality issues tend to come from:

  • Large enlargements of small images
  • Using nearest neighbor on photos, or a soft method where you wanted sharpness
  • Heavy sharpening after upscaling, which can create halos
  • Repeated resampling

If you need a large print or crop, starting with more real pixels is usually better than relying on interpolation to fill the gap.

How it connects to video

Video frames are images, so the same ideas carry over. Video editors interpolate pixels when scaling footage between resolutions, and they can also interpolate in time, creating whole new frames for slow motion. If you’re grabbing frames from footage, as in how to create stills from video, the resolution of the video limits how far you can enlarge those stills. For the video side of the topic, see what interpolation is in video editing.

The complete guide to interpolation

What Is Interpolation in Video Editing?
Read the guide

Keep exploring

Guides from other topics

All topics →