MATLAB Answers

0

what are the similarity measures between two signals

Asked by prashanth A on 1 Oct 2014
Latest activity Commented on by prashanth A on 1 Oct 2014
Dear all,
i am trying to implement Active Shape Model based segmentation. i have developed a model/template for the shape. Next, with the model , i have to search it in a given image.
the template/model consists of many points on the image, each associated with a profile at its location.
To compare the model profile with the profile generated in the test image, i am using euclidean distance as one measure. the other is the correlation points generated by normxcorr2() function.
both are not giving satisfactory answers.
Are there any other measures of similarity between a given template (a 1D signal) and another 1D signal. Please suggest.

  0 Comments

Sign in to comment.

2 Answers

Answer by Aslak Grinsted on 1 Oct 2014

There are really many different measures and they are good at different things (e.g. phase correlation).
The two measures you use are good if there is no scaling, shear, or rotation of the feature in the image relative to the template you have created. If that is the case then i would probably stick with normxcorr2 but pre-processing the images to emphasize the features you are looking for.
It would be helpful to see an example of the template and what you would like it to match.

  0 Comments

Sign in to comment.


Answer by prashanth A on 1 Oct 2014

the model contains the "profile" to be matched in signal.. the normxcorr2 generated the correlation factor. but corresponding point in the image is not the actual point which is matching it...

  1 Comment

this is the other file

Sign in to comment.