Given at least 3 points $(x_{i}, y_{i})$, how to confirm if all points lie on a sine wave? Or alternatively, how to determine the parameters of a sine wave that best fits the data (I'm guessing amplitude and phase would be sufficient?).
Context: I am processing images and attempting to identify sinusoidal features within a rock face programmatically. I'm able to identify these as well as other features using edge detection. I'm now trying to isolate the sinusoidal features. I have a number of ideas of how to do this, the above idea would likely be the least computationally intensive but I've no idea hoe to go about it.


The $3$ points if be ...
then ...
$\sin a = b$ and $\sin c = d$ and $\sin e = f$ then the $3$ points are on a sine curve.
However, I haven't come across anyone/anything that clearly states the minimum number of points for a sine wave. For instance if you know a relationship is linear (a straight line), you need only find $2$ points. From what I know, a sine wave has to be periodic/cyclical and has to have a maximum and a minimum and a midline, the max & min equidistant from the midline.