added stream parameter to all cudaimgproc routines
This commit is contained in:
@@ -68,7 +68,7 @@ namespace
|
||||
GoodFeaturesToTrackDetector(int srcType, int maxCorners, double qualityLevel, double minDistance,
|
||||
int blockSize, bool useHarrisDetector, double harrisK);
|
||||
|
||||
void detect(InputArray image, OutputArray corners, InputArray mask = noArray());
|
||||
void detect(InputArray image, OutputArray corners, InputArray mask, Stream& stream);
|
||||
|
||||
private:
|
||||
int maxCorners_;
|
||||
@@ -96,8 +96,11 @@ namespace
|
||||
cuda::createMinEigenValCorner(srcType, blockSize, 3);
|
||||
}
|
||||
|
||||
void GoodFeaturesToTrackDetector::detect(InputArray _image, OutputArray _corners, InputArray _mask)
|
||||
void GoodFeaturesToTrackDetector::detect(InputArray _image, OutputArray _corners, InputArray _mask, Stream& stream)
|
||||
{
|
||||
// TODO : implement async version
|
||||
(void) stream;
|
||||
|
||||
using namespace cv::cuda::device::gfft;
|
||||
|
||||
GpuMat image = _image.getGpuMat();
|
||||
|
Reference in New Issue
Block a user