Ask Your Question

Revision history [back]

LineIterator for non-8U images

Hi there!

I have a CV_32FC2 image, and need to iterate over a line on that image (C++). The LineIterator constructor does not report any issue, but from the pointer I can get only Vec2b -not Vec2f, as I need.

  • Is it possible to use the class for non-8U images?
  • Does the class do more than iterating over _coordinates_? -Is it somehow optimized for pixel value access?