Commit 4632d658 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

doxygenated core and imgproc modules (C++ API only)

parent 201d4a06
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1474,6 +1474,13 @@ inline LineIterator LineIterator::operator ++(int)
++(*this);
return it;
}
inline Point LineIterator::pos() const
{
Point p;
p.y = (ptr - ptr0)/step;
p.x = ((ptr - ptr0) - p.y*step)/elemSize;
return p;
}
#if 0
template<typename _Tp> inline VectorCommaInitializer_<_Tp>::
......
......@@ -227,6 +227,10 @@ LineIterator::LineIterator(const Mat& img, Point pt1, Point pt2,
minusStep = bt_pix;
count = dx + dy + 1;
}
this->ptr0 = img.data;
this->step = (int)step;
this->elemSize = bt_pix;
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment