fixed LineIterator constructor in order to make LineIterator::pos() work properly (#408)

This commit is contained in:
Vadim Pisarevsky 2010-07-29 13:26:01 +00:00
parent 686e28eeee
commit 808190c02e

View File

@ -229,8 +229,8 @@ LineIterator::LineIterator(const Mat& img, Point pt1, Point pt2,
} }
this->ptr0 = img.data; this->ptr0 = img.data;
this->step = (int)step; this->step = (int)img.step;
this->elemSize = bt_pix; this->elemSize = bt_pix0;
} }
static void static void