resampling using pixel area relation. It may be a preferred method for image decimation, as it gives moire'-free results. But when the image is zoomed, it is similar to the INTER_NEAREST method.
cv.INTER_LANCZOS4
Lanczos interpolation over 8x8 neighborhood
cv.INTER_LINEAR_EXACT
Bit exact bilinear interpolation
cv.INTER_MAX
mask for interpolation codes
cv.WARP_FILL_OUTLIERS
flag, fills all of the destination image pixels. If some of them correspond to outliers in the source image, they are set to zero
cv.WARP_INVERSE_MAP
flag, inverse transformationFor example, linearPolar or logPolar transforms:
Reference
Brief
空间对称性 - Alignment
Tips
最近邻插值
法解决cv2.resize(image, (w, h), interpolation=cv2.INTER_NEAREST)
OpenCV
dst = cv.resize( src, dsize[, dst[, fx[, fy[, interpolation]]]] )
np.zeros((h, w, c), dtype=np.uint8)