<html><head><base href="x-msg://87/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Samuele,</div><div><br></div><div>I need to fix the recent code revision---I made some changes such as adding a progress reporter and I didn't realize until recently that there's a bug. Anyway, you can wait until later today when I upload a corrected version or you can find the line in the .txx file, in the function GenerateData(), that reads something like </div><div><br></div><div>itkDebugMacro( "Iteration: " << iteration << ": Convergence threshold = " << convergence )</div><div><br></div><div>and just delete it. That should correct the problem.</div><div><br></div><div>Nick</div><div><br></div><br><div><div>On Oct 23, 2009, at 5:42 AM, Samuele Dietler wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; ">Hello itk users,<br>i have a problem with the following library : itkN3MRIBiasFieldCorrectionImageFilter(taken by insight journal). I compile it in visual studio 9 with itk3.8. The first time that i compiled it i had a problem with review option of itk, so i turned on review and i recompiled itk. After i have recompiled itkN3MRIBiasFieldCorrectionImageFilter but this time the following list of errors appear :<br><br><br>1>------ Build started: Project: ImageCompare, Configuration: Debug Win32 ------<br>2>------ Build started: Project: itkN3MRIBiasFieldCorrectionImageFilterTest, Configuration: Debug Win32 ------<br>2>Compiling...<br>1>Compiling...<br>1>ImageCompare.cxx<br>2>itkN3MRIBiasFieldCorrectionImageFilterTest.cxx<br>2>c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(136) : error C2065: 'iteration' : undeclared identifier<br>2> c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(59) : while compiling class template member function 'void itk::N3MRIBiasFieldCorrectionImageFilter<TInputImage,TMaskImage,TOutputImage>::GenerateData(void)'<br>2> with<br>2> [<br>2> TInputImage=ImageType,<br>2> TMaskImage=MaskImageType,<br>2> TOutputImage=ImageType<br>2> ]<br>2> ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(109) : see reference to class template instantiation 'itk::N3MRIBiasFieldCorrectionImageFilter<TInputImage,TMaskImage,TOutputImage>' being compiled<br>2> with<br>2> [<br>2> TInputImage=ImageType,<br>2> TMaskImage=MaskImageType,<br>2> TOutputImage=ImageType<br>2> ]<br>2> ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(217) : see reference to function template instantiation 'int itkN3MRIBiasFieldCorrectionImageFilterTest<2>(int,char *[])' being compiled<br>2>c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(136) : error C2065: 'cv' : undeclared identifier<br>2>c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(136) : error C2065: 'iteration' : undeclared identifier<br>2> c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(59) : while compiling class template member function 'void itk::N3MRIBiasFieldCorrectionImageFilter<TInputImage,TMaskImage,TOutputImage>::GenerateData(void)'<br>2> with<br>2> [<br>2> TInputImage=ImageType,<br>2> TMaskImage=MaskImageType,<br>2> TOutputImage=ImageType<br>2> ]<br>2> ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(109) : see reference to class template instantiation 'itk::N3MRIBiasFieldCorrectionImageFilter<TInputImage,TMaskImage,TOutputImage>' being compiled<br>2> with<br>2> [<br>2> TInputImage=ImageType,<br>2> TMaskImage=MaskImageType,<br>2> TOutputImage=ImageType<br>2> ]<br>2> ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(220) : see reference to function template instantiation 'int itkN3MRIBiasFieldCorrectionImageFilterTest<3>(int,char *[])' being compiled<br>2>c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(136) : error C2065: 'cv' : undeclared identifier<br>2>Build log was saved at "<a href="file:///c:\tk\N3CorrectionBin\itkN3MRIBiasFieldCorrectionImageFilterTest.dir\Debug\BuildLog.htm">file://c:\tk\N3CorrectionBin\itkN3MRIBiasFieldCorrectionImageFilterTest.dir\Debug\BuildLog.htm</a>"<br>2>itkN3MRIBiasFieldCorrectionImageFilterTest - 4 error(s), 0 warning(s)<br>1>Compiling manifest to resources...<br>1>Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<br>1>Copyright (C) Microsoft Corporation. All rights reserved.<br>1>Linking...<br>1>LINK : fatal error LNK1104: cannot open file 'ITKReview.lib'<br>1>Build log was saved at "<a href="file:///c:\tk\N3CorrectionBin\ImageCompare.dir\Debug\BuildLog.htm">file://c:\tk\N3CorrectionBin\ImageCompare.dir\Debug\BuildLog.htm</a>"<br>1>ImageCompare - 1 error(s), 0 warning(s)<br>========== Build: 0 succeeded, 2 failed, 2 up-to-date, 0 skipped ==========<br><br><br>Does anyone know hot to solve the problem?? <br><br><br>Thank you, bests<br>Samuele<br><br><br><br><hr>Windows Live Today:<span class="Apple-converted-space"> </span><a href="http://www.microsoft.com/italy/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:it-it:SI_SB_3:092009" target="_new">Resta aggiornato sulle attivitą dei tuoi amici su Flickr, Dada e MySpace</a>_____________________________________<br>Powered by<span class="Apple-converted-space"> </span><a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ITK FAQ at:<span class="Apple-converted-space"> </span><a href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></div></span></blockquote></div><br></body></html>