I have tried the function "cv2.filter2D(img, cv2.CV_8UC3, g_kernel)" where the img variable is a hexagonally sampled image. But the error says "TypeError: Expected cv::UMat for argument 'src' ". How Can I apply a 2D filter on a hexagonally sampled image?