[Insight-users] BlockMatchingImageFilter with different distance metrics

David Fuentes fuentesdt at gmail.com
Wed Apr 24 13:16:35 EDT 2013


thanks for the quick reply fotis,
do you think this would be worth the time to template on a new metric ?


On Wed, Apr 24, 2013 at 12:12 PM, Fotis Drakopoulos <fdrakopo at gmail.com>wrote:

> Hello David,
>
> The simplest and easiest way to do it is to rewrite the ThreadedGenerateData
> method with the new metric.
> However, a more sofisticated approach would be the
> BlockMatchingImageFilter to be templated on the metric.
>
> Best Regards
> Fotis
>
>
> On Wed, Apr 24, 2013 at 12:52 PM, David Fuentes <fuentesdt at gmail.com>wrote:
>
>> Hi,
>>
>> What would be the best way to approach running the
>> BlockMatchingImageFilter with different similarity metrics such as mean
>> square difference or mutual information ?
>>
>>
>> Should the ThreadedGenerateData method be overwritten in a derived class
>> or should the BlockMatchingImageFilter be templated on the metric ?
>>
>> Thanks,
>> David
>>  ------------------------------
>> NOTE: This message was trained as non-spam. If this is wrong, please
>> correct the training as soon as possible.
>> Spam<https://www.spamtrap.odu.edu/canit/b.php?i=01JrQQzg4&m=30cc23fd9838&t=20130424&c=s>
>> Not spam<https://www.spamtrap.odu.edu/canit/b.php?i=01JrQQzg4&m=30cc23fd9838&t=20130424&c=n>
>> Forget previous vote<https://www.spamtrap.odu.edu/canit/b.php?i=01JrQQzg4&m=30cc23fd9838&t=20130424&c=f>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130424/2f176952/attachment.htm>


More information about the Insight-users mailing list