Introduction - If you have any usage issues, please Google them yourself
Frequently encountered in image processing "sub-pixel" is the word. Sub-pixel does not actually exist, but exist in the imagination. So using mathematical methods to calculate its value. Sample will be a picture height and width are expanded to five times, resulting in two adjacent original pixels are not adjacent, and an interval of several pixels, the pixels how to define them, a simple, mathematically using bilinear interpolation method to calculate the unknown pixels. This program provides a code sample, for reference, hope you have help.