How to convert from "const cv::cuda::GpuMat" to "const cv::cuda::PtrStepSz<uchar3>"
Hi,
I tried to conver from "const cv::cuda::GpuMat" to "const cv::cuda::PtrStepSz<uchar3>" but i couldn't. In code below:
void FireDetectorCaller(const PtrStepSz<uchar3>& src, PtrStepSz<uchar3>& dst);
void FireDetector(const GpuMat& src, GpuMat& dst)
{
FireDetectorCaller(src,dst);
}
Compiler says: error : no suitable user-defined conversion from "const cv::cuda::GpuMat" to "const cv::cuda::PtrStepSz<uchar3>" exists
How can i fix this? Could you pls help me? Thank in advance,
Solved!!!!!!!!!!!!!!!!!!!
Could you please let me know how did you solve this issue? I am working on the same thing for a Project. Is this possible with NVCC 7.5 ? Please let me know how did you figure this out or if is possible to do this on GPU or not? Or any alternative is possible? Thanks!
Please someone help me out on this. I am facing serious issues regarding this :/