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

@@ -85,8 +85,8 @@ int main(int argc, const char* argv[])
Mat frame0Gray, frame1Gray;
cvtColor(frame0Color, frame0Gray, COLOR_BGR2GRAY);
cvtColor(frame1Color, frame1Gray, COLOR_BGR2GRAY);
cv::cvtColor(frame0Color, frame0Gray, COLOR_BGR2GRAY);
cv::cvtColor(frame1Color, frame1Gray, COLOR_BGR2GRAY);
GpuMat d_frame0(frame0Gray);
GpuMat d_frame1(frame1Gray);