MATLAB Answers

what are the similarity measures between two signals

조회 수: 35(최근 30일)
prashanth A
prashanth A 1 Oct 2014
댓글: prashanth A 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

댓글을 달려면 로그인하십시오.

답변(2개)

Aslak Grinsted
Aslak Grinsted 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

댓글을 달려면 로그인하십시오.


prashanth A
prashanth A 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

prashanth A
prashanth A 1 Oct 2014
this is the other file

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by