[Insight-users] [ITK Community] Why is the Normalized Correlation Metric inverted?
Matt McCormick
matt.mccormick at kitware.com
Mon Nov 18 11:22:37 EST 2013
Hi Jonas,
By convention, many of the optimizers work to minimize the metric they
are given.
Thanks,
Matt
On Sun, Nov 17, 2013 at 5:58 AM, Jonas Beuke <abbo_jonas at gmx.de> wrote:
> Hi all,
>
> I'm comparing images by using itkNormalizedCorrelationImageToImageMetric as
> a similarity metric. As far as I can see it implements exactly the Pearson
> product-moment correlation coefficient except for the line 117 "const
> RealType denom = -1.0 * vcl_sqrt(sff * smm);". This line, as far as I
> understand it, inverts the correlation so -1 is a perfect positive
> correlation between the two images. What is the purpose of this?
>
> Greetings,
> Jonas
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
More information about the Insight-users
mailing list