[Insight-users] Cross Correlation Coefficient
Martin Urschler
martin at urschler.info
Wed Apr 12 04:44:20 EDT 2006
I would suggest to look at the NormalizedCorrelationImageToImageMetric.
You can use the GetValue method to compute the normalized cross
correlation. Simply invoke it with the IdentityTransform.
If it doesn't do what you want you can at least look at the
implementation of this class and write your own
CrossCorrelationImageFunction.
hth,
Martin
Aaron Hagan wrote:
> Hello,
>
> Is there a simple class for computing the Cross Correlation Coefficient
> of a 2 images in itk?
> Something as simple as...
>
> CC<ImageTypeOne, ImageTypeTwo> cc
> cc.SetImageOne(image1);
> cc.SetImageTwo(image2);
> double coefficient = cc.ComputeCoefficient()
More information about the Insight-users
mailing list