Continue to Site

Welcome to

Welcome to our site! is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Matlab] [Image Processing] Snakes algorithm on image with sharp corners

Not open for further replies.


Newbie level 2
Jan 21, 2013
Reaction score
Trophy points
Activity points
Hi all!

I'm trying to implement the snakes algorithm which can be found here :

I have been successful in getting it up and running, however i am having some problems making it work with my specific problem. What i want to do is identify the contour of a wind turbine blade for a series of images, which can be seen here :

Before anyone asks, i have already tried with various edge detectors and the seem to be a poor choice due to the need of a varying threshold in each image, and this process is needed to be automatic.

Now, the snakes function works well for objects who are not occluded and contain no sharp edges. But as you can see. My images contain sharp edges because only parts of the blade is in each image.

My question is therefore: How can i make the snakes function work on my images?
If you are reading this far I assume you have some sort of knowledge with this algorithm. My idea so far is to manipulate the external force field map and the external energy map. I am however having a hard time doing so.

If you have ANY tips, hints or suggestions for other algorithms that can be used, i highly appreciate it.

Thank you in advance

Edit : I am probably not going to have time to check this post until tomorrow. just FYI, thank you.

Im going to go ahead and bump this. Im still having trouble segmenting the blade. I have tried snakes a lot now and it doesnt seem like it works when the blade is cut of by the image. I have tried using standard edge detection along with edgelinking, but im still having trouble.

Are there no edge detection methods where you know the endpoints of the edges? cant seem to find any.

Any tips or hints are warmly welcomed!!

Not open for further replies.

Part and Inventory Search

Welcome to