How to detect zig-zag lines in a image

In an image, I have some zig-zag lines (similar to square wave and triangle wave, but frequency and amplitude varies on each of them) and I need to detect them out. What will be the algorithm to do it? Any existing code sample?

2 comentarios

Image Analyst
Image Analyst el 6 de Jun. de 2012
You forgot to tell us where you uploaded your image to. The answer depends on what the image looks like.
Walter Roberson
Walter Roberson el 6 de Jun. de 2012
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers

Iniciar sesión para comentar.

Preguntada:

el 6 de Jun. de 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by