mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
Merge pull request #8221 from csukuangfj:csukuangfj-path-2
This commit is contained in:
commit
b2da9df82d
@ -1893,7 +1893,7 @@ public:
|
||||
|
||||
// first. raw pointer access.
|
||||
for (int r = 0; r < image.rows; ++r) {
|
||||
Pixel* ptr = image.ptr<Pixel>(0, r);
|
||||
Pixel* ptr = image.ptr<Pixel>(r, 0);
|
||||
const Pixel* ptr_end = ptr + image.cols;
|
||||
for (; ptr != ptr_end; ++ptr) {
|
||||
ptr->x = 255;
|
||||
|
Loading…
Reference in New Issue
Block a user