LineIterator witout a Mat (#13843)
* LineIterator witout a Mat cv::LineIterator can be used without being attached to any cv::Mat, it only needs the size and type of data. An alternative constructor has been defined for that. In that case, a LineIterator can no more be dereferenced with the * operator, but pos() still returns valid pixel positions. It can be useful when LineIterator is just used to compute positions of pixels on a line, without requiring to build a Mat just for that. Use case : with a dataset that would represent a huge image, pixel positions can be pre-computed before querying the dataset API. * Update imgproc.hpp removed trailing spaces * Update drawing.cpp fixed warning
Showing
Please
register
or
sign in
to comment