Hi Kathy,<br>
<br>
there was some discussion about this metric in the list a while ago,
and the conclusion then was that the code did not work. The developers
can correct me if it has been fixed lately, but otherwise I don't think
you can use it.<br>
<br>
Vicente Grau<br>
<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Date: Tue, 6 Jun 2006 08:54:52 -0700 (PDT)<br>From: <a href="mailto:smythek@u.washington.edu">
smythek@u.washington.edu</a><br>Subject: Re: [Insight-users] itk::GradientDifferenceImageToImageMetric<br>To: <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>Message-ID: <<a href="mailto:Pine.LNX.4.43.0606060854520.2005@hymn01.u.washington.edu">
Pine.LNX.4.43.0606060854520.2005@hymn01.u.washington.edu</a>><br>Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed<br><br>Hi ITK,<br><br>I've
gotten several emails from other people also curious on how to use this
metric, but I haven't heard from anyone who knows how to do
so! Has anyone used this before?<br><br>Kathy<br><br><br>On Sun, 4 Jun 2006 <a href="mailto:smythek@u.washington.edu">smythek@u.washington.edu</a> wrote:<br><br>> Hi ITK,<br>><br>> I tried to follow the test example of the GradientDifference metric (after just
<br>> trying to plug it in where I had the NormalizedCorrelation and getting metric<br>> values of INF all the time), but it won't run: I get an access violation<br>> reading error at the line:<br>><br>> metric->GetValueAndDerivative (parameters, value, derivatives);
<br>><br>> I really just want to use the metric in my registration; can anyone tell me<br>> how it should be integrated??<br>><br>> Kathy<br>><br>> On Fri, 2 Jun 2006, k s wrote:<br>><br>>> Hi ITK,
<br>>><br>>> I have registered images using NormalizedCorrelationImagetoImageMetric, and<br>>> now I'd like to try this instead. But I don't know how to use it. Does<br>>> anyone know the parameters of the itk::GradientDifferenceImageToImageMetric
<br>>> I need to set, and is its place in the imageRegistrationMethod any different<br>>> than how I'd use the NormalizedCorrelation?<br>>><br>>> Thanks!<br>>><br>>> Kathy<br>>><br>
><br>><br>> _______________________________________________<br>> Insight-users mailing list<br>> <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>> <a href="http://www.itk.org/mailman/listinfo/insight-users">
http://www.itk.org/mailman/listinfo/insight-users</a><br>><br><br><br><br><br>------------------------------<br><br>_______________________________________________<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">
Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br><br><br>End of Insight-users Digest, Vol 26, Issue 19<br>*********************************************
<br></blockquote></div><br><br clear="all"><br>-- <br>Vicente Grau<br>Wolfson Medical Vision Laboratory<br>Department of Engineering Science<br>University of Oxford