Resampling by Mapping Output Points Back to Input

An inverse map can choose the appropriate source coordinate for each output position, reducing holes caused by rounding forward-mapped samples independently.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a translation
  2. Choose how fractional positions are sampled

Trace a translation

If a displayed image translates two units right, output x=5 comes from original x=3. Values outside the source follow a boundary rule. Translating points gives the forward coordinate relation.

Choose how fractional positions are sampled

A scale or rotation can map to noninteger positions. Use a documented interpolation strategy. Bilinear interpolation supplies one option for numeric samples.[1][2]

References

  1. scikit-image Contributors, NumPy Images and Coordinate Conventions ↩
  2. scikit-image Contributors, Image Data Types and Representable Values ↩