• Pierre Chatelier's avatar
    LineIterator witout a Mat (#13843) · 00e8c781
    Pierre Chatelier authored
    * 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
    00e8c781
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...