What does cv2.remap(img, map1, map2, interpolation=cv2.INTER_LINEAR) do when the map1 has a shape (h,w,2) and map2 a shape (h,w).
These maps come as an output to the cv2.fisheye.initUndistortRectifyMap but the documentation is not very clear. If I change the map2 variable for a numpy.array([],dtype=np.int16) it will still give me a output that looks close to the one without omitting map2 but there are differences.
Does cv2.remap change the data type of img during this process?