Fixed an issue with 'how_to_scan_images.cpp' tutorial code. Issue #2259

pull/33/merge
Vsevolod Glumov 13 years ago
parent 1f21b96b9d
commit 69fbc6102c
  1. 4
      samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp

@ -129,8 +129,8 @@ Mat& ScanImageAndReduceC(Mat& I, const uchar* const table)
int channels = I.channels();
int nRows = I.rows * channels;
int nCols = I.cols;
int nRows = I.rows;
int nCols = I.cols * channels;
if (I.isContinuous())
{

Loading…
Cancel
Save