1 | initial version |
no, the disparity image has exactly the same size as the input, try to print it out:
cerr << imgLeft.size() << endl;
cerr << imgDisparity8U.size() << endl;
but i see this in your code:
namedWindow(windowDisparity, WINDOW_NORMAL);
makes a "resizable" window, can it be, you resized it manually with mouse ? (the size will get saved in the registry or similar)