estimation of subpixel values from images in Python
This question already has an answer here:
There are two common methods:
bilinear interpolation,
bicubic interpolation.
These evaluate an intermediate value, based on the values at four or sixteen neighboring pixels, using weighting functions based on the fractional parts of the coordinates.
Lookup these expressions.
From my experience, the bilinear quality is often sufficient.
链接地址: http://www.djcxy.com/p/50054.html上一篇: 你什么时候使用Builder模式?
下一篇: 估计Python中图像的子像素值