Cv2.remap
lastmod 2026-11-10created 2023-10-242 edits
cv2.remap is an OpenCV function that transforms an image according to mapping arrays indicating, for each output pixel, the coordinate in the input image from which to take its value. It takes x and y coordinate maps and an interpolation method to produce the result image, and can perform lens distortion correction, flipping, and arbitrary geometric transformations in a single call.