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

Andrew Harris aharr8 at uwo.ca
Tue Apr 11 08:36:13 EDT 2017


In the image mask, the parts we want to include in the calculation are
bright and the parts that we want to exclude are dark, is that the opposite
of what it should be?

--

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.*

On Thu, Mar 30, 2017 at 7:25 PM, Dženan Zukić <dzenanz at gmail.com> wrote:

> 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/20170411/90a66e72/attachment.html>


More information about the Insight-users mailing list