[Insight-developers] Function to check if images have the same information
Bradley Lowekamp
blowekamp at mail.nih.gov
Wed Nov 16 20:52:56 EST 2011
Hello Matt,
I think you are thinking of ImageToImageFllter::VerifyInputInformation.
Brad
========================================================
Bradley Lowekamp
Medical Science and Computing for
Office of High Performance Computing and Communications
National Library of Medicine
blowekamp at mail.nih.gov
On Nov 16, 2011, at 6:46 PM, Matt McCormick wrote:
> Hi Cartik,
>
> Thanks for your response, but I think you may have misunderstood my
> question -- I am not looking for a mathematical function to compare
> the content of two images. I am looking for a coding function to
> compare what in ITK is often called the data Information, the Origin,
> Spacing, Direction matrix, starting Index -- the metadata that
> determine the physical location of a given pixel index. Filters like
> the BinaryFunctorImageFilter assume that these are the same.
>
> Thanks,
> Matt
>
> On Wed, Nov 16, 2011 at 6:30 PM, Cartik Sharma <cartik.sharma at gmail.com> wrote:
>> Dear Matt,
>>
>> The Normalized cross correlation computed for pixel intensity values can allow for image comparison. Please refer thread..
>>
>> http://www.sterlinglifesciences.com/slsjob.asp?jid=8232&id=7
>>
>> Best regards,
>> Cartik
>>
>> my iPhone
>>
>> On 2011-11-16, at 6:15 PM, Matt McCormick <matt.mccormick at kitware.com> wrote:
>>
>>> Hi,
>>>
>>> I think the was some discussion about this a while ago, but is there a
>>> convenience function that checks where two images have the
>>> information?
>>>
>>> There are algorithms that assume correspondence between the physical
>>> location of image pixel indices. That is, the origin, spacing,
>>> direction matrix, and LargestPossibleRegion are the same. Is there a
>>> function that can check this?
>>>
>>> I see itkIsSame.h, but that only checks if the pixel types are the same?
>>>
>>> Thanks,
>>> Matt
>>> _______________________________________________
>>> 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://kitware.com/products/protraining.html
>>>
>>> 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-developers
>>
>>
> _______________________________________________
> 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://kitware.com/products/protraining.html
>
> 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-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20111116/21d126b4/attachment.htm>
More information about the Insight-developers
mailing list