Home | History | Annotate | Download | only in gpu

Lines Matching refs:left

21     string left;
57 ss << "(" << p.method_str() << ") FPS: " << setiosflags(ios::left)
66 Mat left, right;
80 << "\t--left <left_view> --right <right_view> # must be rectified\n"
122 if (string(argv[i]) == "--left") p.left = argv[++i];
163 left_src = imread(p.left);
165 if (left_src.empty()) throw runtime_error("can't open file \"" + p.left + "\"");
167 cvtColor(left_src, left, COLOR_BGR2GRAY);
169 d_left.upload(left);
172 imshow("left", left);
181 Mat disp(left.size(), CV_8U);
182 cuda::GpuMat d_disp(left.size(), CV_8U);
197 cvtColor(left_src, left, COLOR_BGR2GRAY);
199 cout << "image_channels: " << left.channels() << endl;
200 d_left.upload(left);
202 imshow("left", left);
225 cout << "image_size: (" << left.cols << ", " << left.rows << ")\n";
226 cout << "image_channels: " << left.channels() << endl;
259 if (left.channels() == 1 && p.method != Params::BM)
261 left = left_src;
266 cvtColor(left_src, left, COLOR_BGR2GRAY);
269 d_left.upload(left);
271 cout << "image_channels: " << left.channels() << endl;
272 imshow("left", left);