<div dir="ltr">thanks for the quick reply fotis,<div>do you think this would be worth the time to template on a new metric ? <br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 24, 2013 at 12:12 PM, Fotis Drakopoulos <span dir="ltr">&lt;<a href="mailto:fdrakopo@gmail.com" target="_blank">fdrakopo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello David,<div><br></div><div>The simplest and easiest way to do it is to rewrite the<span style="font-family:arial,sans-serif;font-size:13.333333969116211px"> </span><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">ThreadedGenerateData method with the new metric. </span></div>

<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">However, a more </span><span style="font-size:13.333333969116211px;font-family:arial,sans-serif">sofisticated </span>approach would be <span style="font-size:13.333333969116211px;font-family:arial,sans-serif">the BlockMatchingImageFilter to be templated on the metric.</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Best Regards</span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Fotis</span></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, Apr 24, 2013 at 12:52 PM, David Fuentes <span dir="ltr">&lt;<a href="mailto:fuentesdt@gmail.com" target="_blank">fuentesdt@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>What would be the best way to approach running the BlockMatchingImageFilter with different similarity metrics such as mean square difference or mutual information ? </div>

<div>
<br></div><div><br></div><div>Should the ThreadedGenerateData method be overwritten in a derived class or should the BlockMatchingImageFilter be templated on the metric ? </div><div><br></div><div>
Thanks,</div><div>David</div></div>



</div></div><div><span style="font-style:normal;font-size:medium;display:inline;font-weight:normal">
<hr>


NOTE: This message was trained as non-spam.  If this is wrong,
please correct the training as soon as possible.
<br>

<a href="https://www.spamtrap.odu.edu/canit/b.php?i=01JrQQzg4&amp;m=30cc23fd9838&amp;t=20130424&amp;c=s" target="_blank">Spam</a><br>

<a href="https://www.spamtrap.odu.edu/canit/b.php?i=01JrQQzg4&amp;m=30cc23fd9838&amp;t=20130424&amp;c=n" target="_blank">Not spam</a><br>

<a href="https://www.spamtrap.odu.edu/canit/b.php?i=01JrQQzg4&amp;m=30cc23fd9838&amp;t=20130424&amp;c=f" target="_blank">Forget previous vote</a><br></span></div>


</blockquote></div><br></div>
</blockquote></div><br></div>