def METHOD_NAME(meta, mean, std):
    raw_img = meta['img']
    height = raw_img.shape[0]
    width = raw_img.shape[1]
    dst_shape = [320, 320]
    M = np.array([[1., 0., 0.], [0., 1., 0.], [0., 0., 1.]])
    ResizeM = get_resize_matrix((width, height), dst_shape)
    M = ResizeM @ M
    img = cv2.warpPerspective(raw_img, M, dsize=tuple(dst_shape))
    meta['img'] = img
    meta['warp_matrix'] = M
    meta = color_aug_and_norm(meta, mean, std)
    return meta