<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
I want to report a bug/annoyance in the
NormalizedCorrelationImageToImageMetric:<br>
<br>
The NormalizedCorrelationImageToImageMetric does not check the
m_ComputeGradient bool when calculating the derivative in both
GetDerivative() and GetValueAndDerivative(). It assumes that this bool
is true and it also depends on this assumption. However, there exists a
function, inherited from the ImageToImageMetric, called
SetComputeGradient(bool)
which enables the user to set it to false. Doing so would result in
throwing an exeption.<br>
<br>
I have added this as bug #3103 in the bugtracker. When doing so I
noticed that it is not possible to set the itk version to 2.6: 2.4 was
the highest version possible.<br>
<br>
Best regards,<br>
<b></b>
<pre class="moz-signature" cols="60">-- 
Marius Staring
Image Sciences Institute
University Medical Centre Utrecht
Heidelberglaan 100, 3584 CX Utrecht, The Netherlands
phone: +31 (0)30 250 3186, fax: +31 (0)30 251 3399
<a class="moz-txt-link-abbreviated" href="mailto:marius@isi.uu.nl">marius@isi.uu.nl</a>, <a class="moz-txt-link-freetext" href="http://www.isi.uu.nl/People/Marius">http://www.isi.uu.nl/People/Marius</a></pre>
</body>
</html>