I am writing an iOS as and I need to be able to do edge detection in the image. I actually want something similar to Photoshop's trace contour. Since I basically need to get the simplest set of lines to work with.. Thing is I cannot seem to figure out how to do it and frankly I have 0 interest in OpenCV since I spent 5 hours today trying to get any of the 10 or so zips of it I downloaded to compile, in any way shape or form. So I was hoping maybe some one could point me the right way to do it with what's built in to the os.. or maybe an example
If haven't used it myself, but are you looking for something like this? It's basically a C++ wrapper and it declares a method called ImageWrapper *cannyEdgeExtract(float tlow, float thigh)
.
来源:https://stackoverflow.com/questions/11238421/ios-coreimage-edge-detection