I am trying to sement an image containing a several, overlapping sine waves of the same color. Ultimately I am trying to do two things: (1) Determine how many sine waves there are in an image, and (2) Extract the data seperately for each so that I can perform a curve fit on each wave seperately. Currently, I am able to use color thresholding and active contouring to pull out ALL of the data in a particular image, but I can't separate the data into individual sine waves.
I understand from your question that you want the sine wave images to be available separately. Since the sine waves are overlapped, may be you can proceed with a different approach of watershed segmentation. Refer to the below documentation on the same: