Metric to Compare two images using SimpleITK

Im currently using sitk and using conversions to numpy, I am able to perform few operations. I want to know the metrics that are available to compare two image. Is there any direct metric to find correlation between two images?

Hello @unicorn,

If you want to compare two images there are multiple similarity metrics that are part of the registration framework, including correlation which assumes a linear relationship (mathematically this is affine but most people refer to it as linear).

Please see the registration overview and the set of registration notebooks in our notebook repository (6* series). The ImageRegistrationMethod.MetricEvaluate function allows you to compare two images. Please also see this related discussion.