<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EstiloCorreo18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ES link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I realize that the headers I need are under the folders “…/Code/Numerics” and ”…/Code/SpatialObjets” , so I am wondering that maybe I did something wrong in the ‘Cmake’ process. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I used Cmake 2.6, which option I should mark that I did not do it before? Can I overwrite the old folder and my program in Visual Studio 2008 will follow working with ITK without problems?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Thanks all<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Antonio<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ES'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ES'> insight-users-bounces@itk.org [mailto:insight-users-bounces@itk.org] <b>En nombre de </b>Antonio Gómez Barquero<br><b>Enviado el:</b> lunes, 24 de octubre de 2011 15:07<br><b>Para:</b> insight-users@itk.org<br><b>Asunto:</b> [Insight-users] 'itkSingleValuedCostFunction.h': No such file or directory // Trying to calculate the MI<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hello!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US>I am trying to calculate the mutual information between two images, for that purpose I am using the class ‘MutualInformationImageToImageMetric’. After reading this example : </span><a href="http://www.itk.org/Wiki/ITK/Examples/Registration/MutualInformation"><span lang=EN-US>http://www.itk.org/Wiki/ITK/Examples/Registration/MutualInformation</span></a><span lang=EN-US> I am using the following new four ‘#include’ lines in my code:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US>#include "itkImageRegistrationMethod.h"<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US>#include "itkTranslationTransform.h"<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US>#include "itkMutualInformationImageToImageMetric.h"<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US>#include "itkLinearInterpolateImageFunction.h"<o:p></o:p></span></i></p><p class=MsoNormal style='margin-left:35.4pt'><i><span lang=EN-US><o:p> </o:p></span></i></p><p class=MsoNormal><span lang=EN-US>After that I received a fatal error telling me that : <b>'itkSingleValuedCostFunction.h': No such file or directory<o:p></o:p></b></span></p><p class=MsoNormal><b><span lang=EN-US><o:p> </o:p></span></b></p><p class=MsoNormal><span lang=EN-US>I have use quite a lot of other classes of itk and it works always…what is happening now? Any hints please?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks !<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Antonio Gómez Barquero<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=ES-TRAD style='font-size:8.0pt;mso-fareast-language:ES'>Ingeniero de Telecomunicaciones -Becario Investigador asociado a Actividades de I+D+I <o:p></o:p></span></p><p class=MsoNormal><span lang=ES-TRAD style='font-size:8.0pt;mso-fareast-language:ES'>GTTS ( Grupo de Tratamiento y Teoría de la Señal)[ </span><span style='font-size:8.0pt;mso-fareast-language:ES'><a href="http://gtts.upct.es/">http://gtts.upct.es/</a></span><span lang=ES-TRAD style='font-size:8.0pt;mso-fareast-language:ES'>]<o:p></o:p></span></p><p class=MsoNormal><span lang=ES-TRAD style='font-size:8.0pt;mso-fareast-language:ES'>UPCT (Universidad Politécnica de Cartagena)[ </span><span style='font-size:8.0pt;mso-fareast-language:ES'><a href="http://www.upct.es/">http://www.upct.es/</a>]</span><span lang=ES-TRAD style='font-size:8.0pt;mso-fareast-language:ES'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>