【发布时间】:2011-02-22 22:52:58
【问题描述】:
有没有办法在 OpenCV 中沿指定曲线/路径访问像素?
我找到了 LineIterator: http://opencv.willowgarage.com/documentation/cpp/core_drawing_functions.html?highlight=lineiterator#LineIterator 但仅限于线条。我想找到类似于 LineIterator 的东西,但使用圆圈,因为我需要读取圆圈或椭圆上的像素。
【问题讨论】:
-
如果曲线/路径是可参数化的,你可以试试我对stackoverflow.com/questions/16590329/…的回答