I got data measurements from image. I mean profile scan data. (image intensity values that are taken along one line) And what I want is to get data from another image's line and compare them together. I want to know if they are similar or not. For example I got:
int data1[N];
int data2[N];
And I want to compare them. If they are not similar, I wish to know the most longest part of that data, that are similar to each other. For example, it may happen so that data1 and data2 are not similar if we look at them at indexes from 0 to N - 1, but may be at indexes 100 ... N - 56 they are almost the same. By similarity I mean: if we represent data1 and data2 in the form of waves, then the similarity means that they behave almost the same, But may differ a little sometimes. I mean the form of the waves are almost similar.