Introduction - If you have any usage issues, please Google them yourself
Nearest neighbor calculation based on image. The algorithm is implemented, for any linear element, the color value of its adjacent pixels is assigned to the pixel value of the nearest linear element.