I have this image:
The interface between the gray area in the bottom part and the noisy part in the middle form a somewhat sinusoidal curve. My problem is how do I extract a vector of the same length as the width of the image describing the sinusoidal curve.
So far I have tried xcorr each column of the image to the next column and use cumsum to construct a curve but I havent been successful yet.
Any other ideas?

