cv::floodfill for GpuMat
I wanted to know if there is function or way to do floodfill on GpuMat. I am trying to parallelize my opencv code using cuda and opencv. I have one line doing floodfill.
cv::floodFill(mask, cv::Point(0, 0), cv::Scalar(255)); (Here mask is cv::Mat)
I wanted to do such thing when mask is GpuMat structure. I do not want to download mat from gpumat and then do the floodfill and upload to GpuMat again within the code.