User draws a line on an image in an iOS app and access pixels on that line using OpenCV [closed]

asked 2017-06-19 10:38:56 -0600

jxu8 gravatar image

I am wondering how I can accomplish the following task:

In an iOS app, the user selects an image and loads it onto the screen of the app. The user can draw a line on top of the image. The line selects the pixels on which it is drawn using OpenCV and the values of those pixels (primarily intensity) are returned. I understand that there is a class in OpenCV called LineIterator, but it uses raster lines. Is there a way I can convert the line that the user has drawn on the app to a raster line that OpenCV can manipulate?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-09-18 04:55:31.070919