Fondazione Bruno Kessler - Technologies of Vision
contains material from
Template Matching Techniques in Computer Vision: Theory and Practice
Roberto Brunelli © 2009 John Wiley & Sons, Ltd
Deviations of the actual distribution from the expect (model) one have a profound impact on the resulting parameter estimates. The case we consider in the text, for small values of the contamination location paramter, can be considered as a model for the estimation of image normalization parameters in the context of face recognition. The distribution of face intensity values, while not necessarily Gaussian, could be fruitfully morphed to a normal distribution (we will consider this in the next chapter) and the perturbation considered is somehow similar to the presence of specularities, such as those often appearing at eyes.
|
Tanh estimators can be used to define a robust version of the standard Pearson correlation coefficient as illustrated by function tm.robustifiedCorrelation.
Codelet 5 A simple approach to robustified correlation (../TeMa/R/tm.robustifiedCorrelation.R)
____________________________________________________________________________________________________________
Pearson correlation coefficient is closely related to the computation of the variance of a set of numbers: it is the dot product of two vectors previously normalized to zero average and unitary variance. The sensitivity of the standard sample variance estimator to the presences of outlying values, such as those due to salt and pepper noise, affects the robustness of the Pearson correlation coefficient. Equation TM:4.17 shows how we can define a robust correlation coefficient using a robust scale estimator. The function tm.robustifiedCorrelation implements Equation TM:4.17 using the scale estimates provided by tm.robustEstimates.
X and Y represent two images, usually normalized to zero location and unitary scale using tm.normalizeImage. The third parameter, mode, can assume three different values: "p", corresponding to the usual (non robust) sample estimator, "M", corresponding to a (non-refined) tanh estimator, and "O", corresponding to a one-step version of the tanh estimator. In order to exploit Equation TM:4.17, we must generate two new random variables that correspond respectively to the sum and to the difference of the two images:
proceeding to the computations required by Equation TM:4.17
______________________________________________________________________________________