How to calculate the ZNCC threshold?

9 Ansichten (letzte 30 Tage)
remos remos
remos remos am 1 Aug. 2015
Beantwortet: Image Analyst am 1 Aug. 2015
I'd like to know how to fix the threshold of ZNCC method and how it is calculated? paper in this field will be desirable
thank you in advance
  4 Kommentare
remos remos
remos remos am 1 Aug. 2015
This is an image matching method I want to know how to calculate the threshold to say that points are matched the interval results thank you
remos remos
remos remos am 1 Aug. 2015
thank you Roger Stafford

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Roger Stafford
Roger Stafford am 1 Aug. 2015
This paper gives a method of computation:
http://vision.deis.unibo.it/fede/papers/iciar04.pdf
As for choosing a threshold, it is not computed but is something that a user must choose based on comparison with samples that are to be considered alike and those considered different. The ZNCC value lies between -1 and +1. The closer to +1 the greater the similarity.
  3 Kommentare
Roger Stafford
Roger Stafford am 1 Aug. 2015
Choosing an appropriate threshold value is something that depends on a number of variables: 1) the nature of the imaging system, 2) the typical variations in the scene to be viewed that are to be disregarded versus those of significance, and 3) the degree of certainly the user wishes to have so as not to miss a significant event versus the expense of responding to non-significant events. I see no way of choosing such threshold values that does not involve a careful consideration and experimentation by the user rather than some automatic computation. Would you trust such an automatic method, Remos?
remos remos
remos remos am 1 Aug. 2015
so no means for the choice of the threshold. experimentation is the only way thank you my friend for these kind explanations

Melden Sie sich an, um zu kommentieren.


Image Analyst
Image Analyst am 1 Aug. 2015
normxcorr2() may do what you want. It normalizes to zero mean and unit standard deviation. See the definition at https://en.wikipedia.org/wiki/Cross-correlation#Normalized_cross-correlation and see if that will work for you.
What do you need to do, and why do you think you need this specialized version of the normalized cross correlation instead of the regular one? Show us your image and template and show us how normxcorr2() fails on your images so we can help you further.

Community Treasure Hunt

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

Start Hunting!

Translated by