Hi Guozhi,<br><br>Please note that the classes from this IJ paper <a href="http://hdl.handle.net/1926/510">http://hdl.handle.net/1926/510</a><br>have already been added to ITK, and they are available in the directory:<br><br>
<br> Insight/Code/Review<br><br><br>You should use these classes instead of the ones from the IJ paper.<br><br>Code changes have been applied to these classes since they were added<br>to the Code/Review directory.<br>
<br>If you attempt to build the code from the IJ paper you may end up having <br>filename conflicts with the files that are currently in Insight/Code/Review.<br><br>To be short: Please use only the files in Insight/Code/Review.<br>
<br>Also, you may want to use a recent version of ITK.<br>The recommended version will be ITK 3.10.1<br><br><br><br> Regards,<br><br><br> Luis<br><br><br>-----------------------------------------------------------------------------------------------------<br>
<div class="gmail_quote">On Tue, Dec 23, 2008 at 2:36 PM, Tao,Guozhi <span dir="ltr"><<a href="mailto:GTao@mdanderson.org">GTao@mdanderson.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Luck:<br>
<br>
Thanks, it is now working.<br>
<br>
Merry Christmas<br>
<font color="#888888"><br>
Guozhi<br>
</font><div><div></div><div class="Wj3C7c"><br>
-----Original Message-----<br>
From: Luke Bloy [mailto:<a href="mailto:luke.bloy@gmail.com">luke.bloy@gmail.com</a>]<br>
Sent: Tuesday, December 23, 2008 12:37 PM<br>
To: Bill Lorensen<br>
Cc: Tao,Guozhi; <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
Subject: Re: [Insight-users] trouble to build diffeomorphic Demons<br>
<br>
Hi George,<br>
<br>
The screen shot you are showing are only the first of many advanced options.<br>
<br>
if you turn on the advanced options than use the down arrow key you come<br>
to it.<br>
<br>
<br>
ITK_IMAGE_BEHAVES_AS_ORIENTED_<br>
ON<br>
ITK_LEGACY_REMOVE<br>
OFF<br>
ITK_LEGACY_SILENT<br>
OFF<br>
ITK_MRI_UNC_DATABASE_DATA_ROOT<br>
ITK_MRI_UNC_DATABASE_DATA_ROOT-NOTFOUND<br>
ITK_USE_CONCEPT_CHECKING<br>
ON<br>
ITK_USE_CONSOLIDATED_MORPHOLOG<br>
OFF<br>
ITK_USE_DEPRECATED_LEVELSET_IN<br>
OFF<br>
ITK_USE_KWSTYLE<br>
OFF<br>
ITK_USE_LIBXML2<br>
OFF<br>
ITK_USE_MINC2<br>
OFF<br>
ITK_USE_OPTIMIZED_REGISTRATION<br>
OFF<br>
ITK_USE_ORIENTED_IMAGE_DIRECTI<br>
ON<br>
ITK_USE_PATENTED<br>
OFF<br>
ITK_USE_REVIEW<br>
ON<br>
ITK_USE_STRICT_CONCEPT_CHECKIN<br>
OFF<br>
ITK_USE_SYSTEM_GDCM<br>
OFF<br>
ITK_USE_SYSTEM_LIBXML2<br>
OFF<br>
<br>
ITK_USE_KWSTYLE: Enable the use of KWStyle for checking coding<br>
style.<br>
Press [enter] to edit option CMake Version 2.6 -<br>
patch 0<br>
Press [c] to configure<br>
Press [h] for help Press [q] to quit without generating<br>
Press [t] to toggle advanced mode (Currently On)<br>
<br>
<br>
<br>
-Luke<br>
<br>
Bill Lorensen wrote:<br>
> Is this the configuration for your example, or the configuration when<br>
> you build itk? The ITK_USE_REVIEW must be set when you build your ITK.<br>
><br>
> On Tue, Dec 23, 2008 at 12:59 PM, Tao,Guozhi <<a href="mailto:GTao@mdanderson.org">GTao@mdanderson.org</a>> wrote:<br>
><br>
>> Hi, Bill:<br>
>><br>
>> See below, it shows that advanced mode(currently on) since I algreay press t to toogle the advanced model.<br>
>><br>
>><br>
>> What I should do.<br>
>><br>
>> George<br>
>><br>
>><br>
>>> BUILDNAME Linux-c++<br>
>>> BUILD_DOXYGEN OFF<br>
>>> BUILD_EXAMPLES OFF<br>
>>> BUILD_SHARED_LIBS ON<br>
>>> BUILD_TESTING OFF<br>
>>> CMAKE_AR /usr/bin/ar<br>
>>> CMAKE_BACKWARDS_COMPATIBILITY 2.4<br>
>>> CMAKE_BUILD_TYPE<br>
>>> CMAKE_COLOR_MAKEFILE ON<br>
>>> CMAKE_CXX_COMPILER /usr/bin/c++<br>
>>> CMAKE_CXX_FLAGS<br>
>>> CMAKE_CXX_FLAGS_DEBUG -g<br>
>>> CMAKE_CXX_FLAGS_MINSIZEREL -Os -DNDEBUG<br>
>>> CMAKE_CXX_FLAGS_RELEASE -O3 -DNDEBUG<br>
>>> CMAKE_CXX_FLAGS_RELWITHDEBINFO -O2 -g<br>
>>> CMAKE_C_COMPILER /usr/bin/gcc<br>
>>><br>
>>> CMAKE_C_FLAGS<br>
>>><br>
>>><br>
>>> Press [enter] to edit option CMake Version 2.6 - patch 2<br>
>>> Press [c] to configure<br>
>>> Press [h] for help Press [q] to quit without generating<br>
>>> Press [t] to toggle advanced mode (Currently On)<br>
>>><br>
>><br>
>> -----Original Message-----<br>
>> From: Bill Lorensen [mailto:<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>]<br>
>> Sent: Tuesday, December 23, 2008 11:53 AM<br>
>> To: Tao,Guozhi<br>
>> Cc: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
>> Subject: Re: [Insight-users] trouble to build diffeomorphic Demons<br>
>><br>
>> It should be in the options. Perhaps it is under advanced. Type 't' to<br>
>> toggle advanced.<br>
>><br>
>> On Tue, Dec 23, 2008 at 12:37 PM, Tao,Guozhi <<a href="mailto:GTao@mdanderson.org">GTao@mdanderson.org</a>> wrote:<br>
>><br>
>>> Hi,<br>
>>> I actually use cmake-gui to build ITK binary, I did not see ITK_USE_REVIEW option, so I use add entry to add it.<br>
>>><br>
>>> Now I am trying to use ccmake, still I can not see ITK_USE_REVIEW option, how can I add it. See below cursor interface<br>
>>><br>
>>> BUILDNAME Linux-c++<br>
>>> BUILD_DOXYGEN OFF<br>
>>> BUILD_EXAMPLES OFF<br>
>>> BUILD_SHARED_LIBS ON<br>
>>> BUILD_TESTING OFF<br>
>>> CMAKE_AR /usr/bin/ar<br>
>>> CMAKE_BACKWARDS_COMPATIBILITY 2.4<br>
>>> CMAKE_BUILD_TYPE<br>
>>> CMAKE_COLOR_MAKEFILE ON<br>
>>> CMAKE_CXX_COMPILER /usr/bin/c++<br>
>>> CMAKE_CXX_FLAGS<br>
>>> CMAKE_CXX_FLAGS_DEBUG -g<br>
>>> CMAKE_CXX_FLAGS_MINSIZEREL -Os -DNDEBUG<br>
>>> CMAKE_CXX_FLAGS_RELEASE -O3 -DNDEBUG<br>
>>> CMAKE_CXX_FLAGS_RELWITHDEBINFO -O2 -g<br>
>>> CMAKE_C_COMPILER /usr/bin/gcc<br>
>>><br>
>>> CMAKE_C_FLAGS<br>
>>><br>
>>><br>
>>> Press [enter] to edit option CMake Version 2.6 - patch 2<br>
>>> Press [c] to configure<br>
>>> Press [h] for help Press [q] to quit without generating<br>
>>> Press [t] to toggle advanced mode (Currently On)<br>
>>><br>
>>><br>
>>> Best regards<br>
>>><br>
>>> George<br>
>>><br>
>>> -----Original Message-----<br>
>>> From: Bill Lorensen [mailto:<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>]<br>
>>> Sent: Tuesday, December 23, 2008 10:32 AM<br>
>>> To: Tao,Guozhi<br>
>>> Cc: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
>>> Subject: Re: [Insight-users] trouble to build diffeomorphic Demons<br>
>>><br>
>>> You set it when you run cmakesetup (Windows) or ccmake (Linux) for<br>
>>> your itk build.<br>
>>><br>
>>> Bill<br>
>>><br>
>>> On Tue, Dec 23, 2008 at 11:10 AM, Tao,Guozhi <<a href="mailto:GTao@mdanderson.org">GTao@mdanderson.org</a>> wrote:<br>
>>><br>
>>>> Hi, Bill:<br>
>>>> When should I set ITK_USE_REVIEW ON?<br>
>>>><br>
>>>> AT the time of install ITK Binary at the beginging<br>
>>>><br>
>>>> or when I run cmke to for diffeomorphic demons<br>
>>>><br>
>>>> -----Original Message-----<br>
>>>> From: Bill Lorensen [mailto:<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>]<br>
>>>> Sent: Tuesday, December 23, 2008 10:00 AM<br>
>>>> To: Tao,Guozhi<br>
>>>> Cc: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
>>>> Subject: Re: [Insight-users] trouble to build diffeomorphic Demons<br>
>>>><br>
>>>> When you run cmake, be sure to set ITK_USE_REVIEW ON. It is off by default.<br>
>>>><br>
>>>> On Tue, Dec 23, 2008 at 10:56 AM, Tao,Guozhi <<a href="mailto:GTao@mdanderson.org">GTao@mdanderson.org</a>> wrote:<br>
>>>><br>
>>>>> Hi, Luis and Everyone:<br>
>>>>><br>
>>>>> I am new ITK user and have trouble to build diffeomorphic demons on red hat<br>
>>>>> linux.<br>
>>>>><br>
>>>>> 1 I installed Cmake and ITK. And I can build the HelloWorld Project and<br>
>>>>> several other registration projects in Example folders.<br>
>>>>><br>
>>>>> 2 Than I am trying to buid diffeomorphic Demons downloaded from<br>
>>>>> <a href="http://hdl.handle.net/1926/510" target="_blank">http://hdl.handle.net/1926/510</a> by Tom.<br>
>>>>><br>
>>>>> 3 I used the CMakeLists.txt given by Tom since I am not good at creating<br>
>>>>> CMake file. Cmake configuration and generating are ok.<br>
>>>>><br>
>>>>> 4 When I run make, it shows a lot of errors such as following<br>
>>>>><br>
>>>>><br>
>>>>> /hometools/Application/DiffeomorphicDemons-2008-11-Vercauteren-IJSource/DemonsRegistration.cxx:11:54:<br>
>>>>> error: itkDiffeomorphicDemonsRegistrationFilter.h: No such file or directory<br>
>>>>> /home/tools/Application/DiffeomorphicDemons-2008-11-Vercauteren-IJSource/DemonsRegistration.cxx:13:60:<br>
>>>>> error: itkFastSymmetricForcesDemonsRegistrationFilter.h: No such file or<br>
>>>>> directory<br>
>>>>> /home/tools/Application/DiffeomorphicDemons-2008-11-Vercauteren-IJSource/DemonsRegistration.cxx:14:43:<br>
>>>>> error: itkGridForwardWarpImageFilter.h: No such file or directory<br>
>>>>><br>
>>>>> 5 Clearly the compuater can't find the class written by Tom, which is<br>
>>>>> located at ITK_source/code/Review folder. Can you please help me to figure<br>
>>>>> out this problem.<br>
>>>>><br>
>>>>> By the way, I followed ITK_gettingstartedI to build ITK, so I disabled build<br>
>>>>> example and application.<br>
>>>>><br>
>>>>><br>
>>>>> Thanks a lot and happy Christmas<br>
>>>>><br>
>>>>><br>
>>>>> George<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" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><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" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><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" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br>