Intel® Integrated Performance Primitives (Intel® IPP) Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-D89856C7-97B1-4BD2-8184-663F93E2E1BD
Visible to Intel only — GUID: GUID-D89856C7-97B1-4BD2-8184-663F93E2E1BD
Nearest Neighbor Interpolation
This is the fastest and least accurate interpolation mode. The pixel value in the destination image is set to the value of the source image pixel closest to the point
(xS,yS):D(xD,yD) = S(round(xS), round(yS)).
To use the nearest neighbor interpolation, set the interpolation parameter to IPPI_INTER_NN or use the functions with the Nearest suffix (pass interpolation=ippNearest to GetSize functions).