fixed LineIterator constructor in order to make LineIterator::pos() work properly (#408)
This commit is contained in:
parent
686e28eeee
commit
808190c02e
@ -229,8 +229,8 @@ LineIterator::LineIterator(const Mat& img, Point pt1, Point pt2,
|
||||
}
|
||||
|
||||
this->ptr0 = img.data;
|
||||
this->step = (int)step;
|
||||
this->elemSize = bt_pix;
|
||||
this->step = (int)img.step;
|
||||
this->elemSize = bt_pix0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user