in source opencv2.4.2\samples\cpp\tutorial_code\core\how_to_scan_images (Bug #2259)
Description
in line 132 and 133, I think
int nRows = I.rows * channels;
int nCols = I.cols;
should be
int nRows = I.rows;
int nCols = I.cols * channels;
Associated revisions
Fixed an issue with 'how_to_scan_images.cpp' tutorial code. Issue #2259
Merge pull request #2259 from ilya-lavrenov:ocl_surf
History
Updated by Evgeny Talanin over 12 years ago
- Category set to documentation
- Assignee set to Vadim Pisarevsky
Updated by Vadim Pisarevsky over 12 years ago
- Target version deleted ()
- Assignee deleted (
Vadim Pisarevsky)
Updated by Vsevolod Glumov over 12 years ago
- Assignee set to Vsevolod Glumov
Updated by Vsevolod Glumov over 12 years ago
- Assignee changed from Vsevolod Glumov to Kirill Kornyakov
Updated by Kirill Kornyakov over 12 years ago
- Status changed from Open to Done
Updated by Andrey Kamaev about 12 years ago
- Target version set to 2.4.3