switched to Input/Output Array in Color Processing

This commit is contained in:
Vladislav Vinogradov
2013-04-29 18:01:57 +04:00
parent 6d1ec452fc
commit 9eea9835ab
9 changed files with 674 additions and 423 deletions

View File

@@ -94,7 +94,7 @@ void cv::gpu::createOpticalFlowNeedleMap(const GpuMat& u, const GpuMat& v, GpuMa
CreateOpticalFlowNeedleMap_gpu(u_avg, v_avg, vertex.ptr<float>(), colors.ptr<float>(), max_flow, 1.0f / u.cols, 1.0f / u.rows);
cvtColor(colors, colors, COLOR_HSV2RGB);
gpu::cvtColor(colors, colors, COLOR_HSV2RGB);
}
#endif /* HAVE_CUDA */