What is the name of this algorithm, and how does it compare to other image resampling algorithms?

后端 未结 5 876

This algorithm has been in my mind for a long time, but I cannot find it described anywhere. It\'s so simple though that I can\'t be the only one who has thought of it. Here\'s

5条回答
  •  天命终不由人
    2021-02-08 06:05

    It's also not bilinear

    Yes, actually it is. Bilinear resampling is just linear interpolation in two dimensions.

    You are describing it as getting the average color of the surface of the pixel, but interpolation from the surrounding pixels is just a much simpler way to calculate the same value.

    The interpolation is done one dimension at a time, so you just calculate overlapping sides instead of overlapping areas, which is a lot simpler.

提交回复
热议问题