Katie Boundary
2nd May 2015, 23:06
I've traditionally abhorred ringing as the worst of all artifacts. Negative lobes make sense for resampling of waveforms because of the oscillating nature of waves. A resizing filter with no negative lobes will actually reduce the amplitude of a waveform to which it is applied, because while the interpolated samples can have values less than or equal to their neighbors, they can never have a greater amplitude than their neighbors. To keep the amplitude of the interpolated signal the same requires negative lobes. But such oscillation does not occur in images; ringing is the result of trying to restore the Gibbs phenomenon in a signal that never had it in the first place.
More recently, I realized that negative lobes actually do make sense for images, but for completely different reasons. In images, interpolation without negative lobes results in blurring for the same reason why they reduce the amplitude of waveforms. Thus, the negative lobes that produce "ringing" also help to mitigate this blurring.
So, while I've typically favored Hermite for being the resizer that most closely approximates pixel mixing at moderate scaling factors, I'm strongly considering a switch to Catrom. It catches my attention for both preserving linear gradients and being a no-op when the source and target resolutions are the same, and because its negative lobe is shallower than Lanczos, making it less likely to produce noticeable ringing.
More recently, I realized that negative lobes actually do make sense for images, but for completely different reasons. In images, interpolation without negative lobes results in blurring for the same reason why they reduce the amplitude of waveforms. Thus, the negative lobes that produce "ringing" also help to mitigate this blurring.
So, while I've typically favored Hermite for being the resizer that most closely approximates pixel mixing at moderate scaling factors, I'm strongly considering a switch to Catrom. It catches my attention for both preserving linear gradients and being a no-op when the source and target resolutions are the same, and because its negative lobe is shallower than Lanczos, making it less likely to produce noticeable ringing.