Package pyopencv :: Module pyopencvext :: Class LineIterator
[hide private]
[frames] | no frames]

Class LineIterator

 object --+    
          |    
??.instance --+
              |
             LineIterator


Class for iterating pixels on a raster line.

In PyOpenCV, LineIterator is a Python iterator which returns Point 
(instead of pixel address as in OpenCV) at every iteration.
Reference:
    http://opencv.willowgarage.com/documentation/cpp/drawing_functions.html#lineiterator

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1, (Mat)img, (Point2i)pt1, (Point2i)pt2 [, (object)connectivity=8 [, (bool)leftToRight=False]]) -> None :
 
__iter__(...)
__iter__( (LineIterator)arg1) -> LineIterator :
 
__reduce__(...)
helper for pickle
 
next(...)
next( (LineIterator)arg1) -> Point2i :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 52
Properties [hide private]
  this
Class for iterating pixels on a raster line.

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1, (Mat)img, (Point2i)pt1, (Point2i)pt2 [, (object)connectivity=8 [, (bool)leftToRight=False]]) -> None :

    C++ signature :
        void __init__(_object*,cv::Mat,cv::Point_<int>,cv::Point_<int> [,int=8 [,bool=False]])

Overrides: object.__init__

__iter__(...)

 

__iter__( (LineIterator)arg1) -> LineIterator :
    
    Wrapped function:
        iter

    C++ signature :
        sdopencv::LineIterator __iter__(sdopencv::LineIterator {lvalue})

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

next(...)

 

next( (LineIterator)arg1) -> Point2i :

    C++ signature :
        cv::Point_<int> next(sdopencv::LineIterator {lvalue})


Property Details [hide private]

this


Class for iterating pixels on a raster line.

In PyOpenCV, LineIterator is a Python iterator which returns Point 
(instead of pixel address as in OpenCV) at every iteration.
Reference:
    http://opencv.willowgarage.com/documentation/cpp/drawing_functions.html#lineiterator

Get Method:
unreachable(...)