@@ -949,10 +949,10 @@ cdef class Modifier:
949949         
950950        :return: per-channel coordinates for subpixel distortion correction, 
951951                 or None if calibration data missing 
952-         :rtype: ndarray of shape (height, width, 2, 3 ) or None 
952+         :rtype: ndarray of shape (height, width, 3, 2 ) or None 
953953        """  
954954        width, height =  self ._widthHeight(width, height)
955-         cdef np.ndarray[DTYPE_t, ndim= 4 , mode= ' c' =  np.empty((height, width, 2 ,  3 ), dtype = DTYPE)
955+         cdef np.ndarray[DTYPE_t, ndim= 4 , mode= ' c' =  np.empty((height, width, 3 ,  2 ), dtype = DTYPE)
956956        if  lf_modifier_apply_subpixel_distortion(self .lf, xu, yu, width, height, & res[0 ,0 ,0 ,0 ]):
957957            return  res
958958        else :
@@ -963,10 +963,10 @@ cdef class Modifier:
963963         
964964        :return: per-channel coordinates for combined distortion and subpixel distortion correction, 
965965                 or None if calibration data missing 
966-         :rtype: ndarray of shape (height, width, 2, 3 ) or None 
966+         :rtype: ndarray of shape (height, width, 3, 2 ) or None 
967967        """  
968968        width, height =  self ._widthHeight(width, height)
969-         cdef np.ndarray[DTYPE_t, ndim= 4 , mode= ' c' =  np.empty((height, width, 2 ,  3 ), dtype = DTYPE)
969+         cdef np.ndarray[DTYPE_t, ndim= 4 , mode= ' c' =  np.empty((height, width, 3 ,  2 ), dtype = DTYPE)
970970        if  lf_modifier_apply_subpixel_geometry_distortion(self .lf, xu, yu, width, height, & res[0 ,0 ,0 ,0 ]):
971971            return  res
972972        else :
0 commit comments