Metric to Compare two images using SimpleITK

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.