1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

added perf test for gpu::erode, fixed docs, refactored perf. sample

This commit is contained in:
Alexey Spizhevoy
2011-02-04 08:16:09 +00:00
parent da6aa774d2
commit 5c3495a079
4 changed files with 58 additions and 29 deletions
+3
View File
@@ -60,10 +60,13 @@ void inline contextOff()
safeCall(cuCtxPopCurrent(&prev_context));
}
// GPUs data
GpuMat d_left[2];
GpuMat d_right[2];
StereoBM_GPU* bm[2];
GpuMat d_result[2];
// CPU result
Mat result;
int main(int argc, char** argv)