A method of matching data sets, such as different images, by estimating a
transformation which relates the two images. Different candidate
transformations are scored by using a similarity measure calculated on
the basis of probability density functions derived from the two data sets
themselves. The probability density functions are based on local
likelihood density estimation (LLDE). The technique is applicable to
image registration, and also to data fusion.