C++ sample code for active contour detection.#3737
C++ sample code for active contour detection.#3737samyak-268 wants to merge 1 commit intoopencv:2.4from samyak-268:2.4
Conversation
Added a C++ file along with a sample input image that demonstrates Active Contour detection (Snake algorithm).
|
Since OpenCV is planning to move to 3.0 shortly (which is completely removing the old, deprecated and forgotton C-API) and cvSnake is nowhere supported there I am guessing that it will not get pushed into the repo. Isn't there a way to program the snake behaviour using the C++ interface? |
|
And basically internally findContours does exactly the same, based on a given image with edges! |
|
I see. Well, if the function is being deprecated, I agree that there isn't much use of pushing the sample. Also, I didn't quite get "program the snake behavior using the C++ interface". Does it mean providing a C++ equivalent to the C-function? |
|
Indeed, it would be nice if you could make a sample out of existing OpenCV C++ functionality, which should be possible. |
…c/window_cocoa.mm (Bug opencv#3737)
…ghgui/src/window_cocoa.mm (Bug opencv#3737)" This reverts commit 56683e6.
…c/window_cocoa.mm (Bug opencv#3737)
|
Once the OpenCV 3.0 release are there any plans to bring over |
Added a C++ file along with a sample input image that demonstrates Active
Contour detection (Snake algorithm).
My motivation for submitting a sample for
cvSnakeImage()originated from the fact that there is surprisingly less amount of documentation or tutorials available online for Active Contour detection. Most of the threads in online Q&A forums do not point to any meaningful places.I have tried to make the code well-documented and self-explanatory and also provided a sample image to run the program on. The image is a pseudo-hue transformation of a lip region (the original task for which I was applying
cvSnakeImage()).