mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
MSER: off-by-one bug
This commit is contained in:
parent
5f30a0a076
commit
c2e5418e51
@ -390,7 +390,7 @@ public:
|
||||
int step = cols;
|
||||
for( i = 1; i < rows-1; i++ )
|
||||
{
|
||||
Pixel* pptr = &pixbuf[i*step + 1];
|
||||
Pixel* pptr = &pixbuf[i*step];
|
||||
for( j = 1; j < cols-1; j++ )
|
||||
{
|
||||
pptr[j].val = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user