How to detect zig-zag lines in a image
2 views (last 30 days)
Show older comments
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 Comments
Image Analyst
on 6 Jun 2012
You forgot to tell us where you uploaded your image to. The answer depends on what the image looks like.
Walter Roberson
on 6 Jun 2012
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
Answers (1)
Image Analyst
on 6 Jun 2012
You might look at the code I gave here: http://www.mathworks.com/matlabcentral/answers/40052-detect-a-sinusoid-in-an-image
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!