Ask Your Question

mitch's profile - activity

2013-07-11 12:01:01 -0600 commented answer Frequency of a sine wave

I think this is the biggest problem though :P Finding / writing the algorithm (or function) in OpenCV to follow the sine wave.

2013-07-11 10:45:00 -0600 asked a question Frequency of a sine wave

Apologies for the probably very simple question, I'm just getting to grips with OpenCV and image processing in general (steep learning curve!)

I have an image (that can almost be thought of as a sine wave), the top portion of the image is black, and the bottom half of it white (essentially the midline is the sine wave).

What I'm trying to do is work out the amount of peaks and check if there are deformaties in the line, the way I have thought of doing this would be to get the co-ordinates for each of the peaks and troughs of the wave and doing some simple geometry on them to do the checks.

However I cannot see any functions (although I could be blind!) that allow for this type of matching and reporting of points. Would anyone have any suggestions? Its almost a line detection but a wavy line.