• 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
..
doc Loading commit data...
include/opencv2 Loading commit data...
misc/java Loading commit data...
perf Loading commit data...
src Loading commit data...
test Loading commit data...
CMakeLists.txt Loading commit data...