[ITK-users] [ITK] Normalized Cross Correlation returns perfect alignment with images not even overlapping

Dženan Zukić dzenanz at gmail.com
Thu Mar 30 19:25:42 EDT 2017


Hi Andrew,

your masks might be inverted. If NCC gets all black pixels in both images,
the correlation will be perfect.

Regards,
Dženan

On Thu, Mar 30, 2017 at 2:13 PM, Andrew Harris <aharr8 at uwo.ca> wrote:

> Hi, I'm hoping someone can guide me toward an explanation of this.  I run
> my pipeline on various ultrasound image sets and get an NCC between 0.65
> and 0.8 for good alignments, but on some sets the NCC returns 1.0 when the
> images aren't even overlapping.  I have the black areas of the image masked
> out, and have even tried cranking up the threshold to be sure the darker
> areas aren't being included to no avail.  Any thoughts?
>
> --
>
> AH
>
>
> ------------------------------------------------------------
> -----------------------------------
>
> *This email and any attachments thereto may contain private,
> confidential, and privileged materials for the sole use of the intended
> recipient. Any reviewing, copying, or distribution of this email (or any
> attachments thereto) by other than the intended recipient is strictly
> prohibited. If you are not the intended recipient, please contact the
> sender immediately and permanently destroy this email and any attachments
> thereto.*
>
> _____________________________________
> 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://public.kitware.com/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170330/bc085555/attachment.html>


More information about the Insight-users mailing list