Ask Your Question

Revision history [back]

Using Streams with functions like meanStdDev?

I am attempting to use a cv::cuda::Stream (per thread) to do opencv cuda operations on images from multiple threads. Most functions take an optional Stream parameter, but some do not, like cv::cuda::meanStdDev. I find that if i call meanStdDev while the other (cv::cuda) calls are given a stream. I get a crash.

How would I be able to use a function like meanStdDev in my processing pipeline when using streams?

Thanks, -Ryan

Using Streams with functions like meanStdDev?

I am attempting to use a cv::cuda::Stream (per thread) to do opencv cuda operations on images from multiple threads. Most functions take an optional Stream parameter, but some do not, like cv::cuda::meanStdDev. cv::cuda::minMax or GpuMat::setTo. I find that if i call meanStdDev cv::cuda::minMax while the other (cv::cuda) calls that take a stream are given a stream. I get a crash.

How would I be able to use a function like meanStdDev minMax in my processing pipeline when using streams?

(Edited from meanStdDev to minMax)

Thanks, -Ryan

Using Streams with functions like meanStdDev?

I am attempting to use a cv::cuda::Stream (per thread) to do opencv cuda operations on images from multiple threads. Most functions take an optional Stream parameter, but some do not, like cv::cuda::minMax or GpuMat::setTo. cv::cuda::meanStdDev. I find that if i call cv::cuda::minMax meanStdDev while the other (cv::cuda) calls that take a stream are given a stream. I get a crash.

How would I be able to use a function like minMax meanStdDev in my processing pipeline when using streams?

(Edited from meanStdDev to minMax)

Thanks, -Ryan