Bi-Cubic Interpolation Algorithm for Image Scaling

后端 未结 4 1823
说谎
说谎 2021-02-06 01:03

I\'m trying to write a basic bicubic resize algorithm to resize a 24-bit RGB bitmap. I have a general understanding of the math involved, and I\'m using this i

4条回答
  •  温柔的废话
    2021-02-06 01:47

    try not exchanging width and height.

       for (int i = 0; i < dest_width; ++i)
        {
            for (int j = 0; j < dest_height; ++j)
    

提交回复
热议问题