[Insight-users] trouble to build diffeomorphic Demons

Luis Ibanez luis.ibanez at kitware.com
Tue Dec 23 15:53:53 EST 2008


Hi Guozhi,

Please note that the classes from this IJ paper
http://hdl.handle.net/1926/510
have already been added to ITK, and they are available in the directory:


                              Insight/Code/Review


You should use these classes instead of the ones from the IJ paper.

Code changes have been applied to these classes since they were added
to the Code/Review directory.

If you attempt to build the code from the IJ paper you may end up having
filename conflicts with the files that are currently in Insight/Code/Review.

To be short: Please use only the files in Insight/Code/Review.

Also, you may want to use a recent version of ITK.
The recommended version will be ITK 3.10.1



     Regards,


            Luis


-----------------------------------------------------------------------------------------------------
On Tue, Dec 23, 2008 at 2:36 PM, Tao,Guozhi <GTao at mdanderson.org> wrote:

> Dear Luck:
>
> Thanks, it is now working.
>
> Merry Christmas
>
> Guozhi
>
> -----Original Message-----
> From: Luke Bloy [mailto:luke.bloy at gmail.com]
> Sent: Tuesday, December 23, 2008 12:37 PM
> To: Bill Lorensen
> Cc: Tao,Guozhi; insight-users at itk.org
> Subject: Re: [Insight-users] trouble to build diffeomorphic Demons
>
> Hi George,
>
> The screen shot you are showing are only the first of many advanced
> options.
>
> if you turn on the advanced options than use the down arrow key you come
> to it.
>
>
>  ITK_IMAGE_BEHAVES_AS_ORIENTED_
> ON
>  ITK_LEGACY_REMOVE
> OFF
>  ITK_LEGACY_SILENT
> OFF
>  ITK_MRI_UNC_DATABASE_DATA_ROOT
> ITK_MRI_UNC_DATABASE_DATA_ROOT-NOTFOUND
>  ITK_USE_CONCEPT_CHECKING
> ON
>  ITK_USE_CONSOLIDATED_MORPHOLOG
> OFF
>  ITK_USE_DEPRECATED_LEVELSET_IN
> OFF
>  ITK_USE_KWSTYLE
> OFF
>  ITK_USE_LIBXML2
> OFF
>  ITK_USE_MINC2
> OFF
>  ITK_USE_OPTIMIZED_REGISTRATION
> OFF
>  ITK_USE_ORIENTED_IMAGE_DIRECTI
> ON
>  ITK_USE_PATENTED
> OFF
>  ITK_USE_REVIEW
> ON
>  ITK_USE_STRICT_CONCEPT_CHECKIN
> OFF
>  ITK_USE_SYSTEM_GDCM
> OFF
>  ITK_USE_SYSTEM_LIBXML2
> OFF
>
> ITK_USE_KWSTYLE: Enable the use of KWStyle for checking coding
> style.
> Press [enter] to edit option                         CMake Version 2.6 -
> patch 0
> Press [c] to configure
> Press [h] for help         Press [q] to quit without generating
> Press [t] to toggle advanced mode (Currently On)
>
>
>
> -Luke
>
> Bill Lorensen wrote:
> > Is this the configuration for your example, or the configuration when
> > you build itk? The ITK_USE_REVIEW must be set when you build your ITK.
> >
> > On Tue, Dec 23, 2008 at 12:59 PM, Tao,Guozhi <GTao at mdanderson.org>
> wrote:
> >
> >> Hi, Bill:
> >>
> >> See below, it shows that advanced mode(currently on) since I algreay
> press t to toogle the advanced model.
> >>
> >>
> >> What I should do.
> >>
> >> George
> >>
> >>
> >>>  BUILDNAME                        Linux-c++
> >>>  BUILD_DOXYGEN                    OFF
> >>>  BUILD_EXAMPLES                   OFF
> >>>  BUILD_SHARED_LIBS                ON
> >>>  BUILD_TESTING                    OFF
> >>>  CMAKE_AR                         /usr/bin/ar
> >>>  CMAKE_BACKWARDS_COMPATIBILITY    2.4
> >>>  CMAKE_BUILD_TYPE
> >>>  CMAKE_COLOR_MAKEFILE             ON
> >>>  CMAKE_CXX_COMPILER               /usr/bin/c++
> >>>  CMAKE_CXX_FLAGS
> >>>  CMAKE_CXX_FLAGS_DEBUG            -g
> >>>  CMAKE_CXX_FLAGS_MINSIZEREL       -Os -DNDEBUG
> >>>  CMAKE_CXX_FLAGS_RELEASE          -O3 -DNDEBUG
> >>>  CMAKE_CXX_FLAGS_RELWITHDEBINFO   -O2 -g
> >>>  CMAKE_C_COMPILER                 /usr/bin/gcc
> >>>
> >>>  CMAKE_C_FLAGS
> >>>
> >>>
> >>> Press [enter] to edit option                         CMake Version 2.6
> - patch 2
> >>> Press [c] to configure
> >>> Press [h] for help         Press [q] to quit without generating
> >>> Press [t] to toggle advanced mode (Currently On)
> >>>
> >>
> >> -----Original Message-----
> >> From: Bill Lorensen [mailto:bill.lorensen at gmail.com]
> >> Sent: Tuesday, December 23, 2008 11:53 AM
> >> To: Tao,Guozhi
> >> Cc: insight-users at itk.org
> >> Subject: Re: [Insight-users] trouble to build diffeomorphic Demons
> >>
> >> It should be in the options. Perhaps it is under advanced. Type 't' to
> >> toggle advanced.
> >>
> >> On Tue, Dec 23, 2008 at 12:37 PM, Tao,Guozhi <GTao at mdanderson.org>
> wrote:
> >>
> >>> Hi,
> >>> 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.
> >>>
> >>> 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
> >>>
> >>>  BUILDNAME                        Linux-c++
> >>>  BUILD_DOXYGEN                    OFF
> >>>  BUILD_EXAMPLES                   OFF
> >>>  BUILD_SHARED_LIBS                ON
> >>>  BUILD_TESTING                    OFF
> >>>  CMAKE_AR                         /usr/bin/ar
> >>>  CMAKE_BACKWARDS_COMPATIBILITY    2.4
> >>>  CMAKE_BUILD_TYPE
> >>>  CMAKE_COLOR_MAKEFILE             ON
> >>>  CMAKE_CXX_COMPILER               /usr/bin/c++
> >>>  CMAKE_CXX_FLAGS
> >>>  CMAKE_CXX_FLAGS_DEBUG            -g
> >>>  CMAKE_CXX_FLAGS_MINSIZEREL       -Os -DNDEBUG
> >>>  CMAKE_CXX_FLAGS_RELEASE          -O3 -DNDEBUG
> >>>  CMAKE_CXX_FLAGS_RELWITHDEBINFO   -O2 -g
> >>>  CMAKE_C_COMPILER                 /usr/bin/gcc
> >>>
> >>>  CMAKE_C_FLAGS
> >>>
> >>>
> >>> Press [enter] to edit option                         CMake Version 2.6
> - patch 2
> >>> Press [c] to configure
> >>> Press [h] for help         Press [q] to quit without generating
> >>> Press [t] to toggle advanced mode (Currently On)
> >>>
> >>>
> >>> Best regards
> >>>
> >>> George
> >>>
> >>> -----Original Message-----
> >>> From: Bill Lorensen [mailto:bill.lorensen at gmail.com]
> >>> Sent: Tuesday, December 23, 2008 10:32 AM
> >>> To: Tao,Guozhi
> >>> Cc: insight-users at itk.org
> >>> Subject: Re: [Insight-users] trouble to build diffeomorphic Demons
> >>>
> >>> You set it when you run cmakesetup (Windows) or ccmake (Linux) for
> >>> your itk build.
> >>>
> >>> Bill
> >>>
> >>> On Tue, Dec 23, 2008 at 11:10 AM, Tao,Guozhi <GTao at mdanderson.org>
> wrote:
> >>>
> >>>> Hi, Bill:
> >>>> When should I set ITK_USE_REVIEW ON?
> >>>>
> >>>> AT the time of install ITK Binary at the beginging
> >>>>
> >>>> or when I run cmke to for diffeomorphic demons
> >>>>
> >>>> -----Original Message-----
> >>>> From: Bill Lorensen [mailto:bill.lorensen at gmail.com]
> >>>> Sent: Tuesday, December 23, 2008 10:00 AM
> >>>> To: Tao,Guozhi
> >>>> Cc: insight-users at itk.org
> >>>> Subject: Re: [Insight-users] trouble to build diffeomorphic Demons
> >>>>
> >>>> When you run cmake, be sure to set ITK_USE_REVIEW ON. It is off by
> default.
> >>>>
> >>>> On Tue, Dec 23, 2008 at 10:56 AM, Tao,Guozhi <GTao at mdanderson.org>
> wrote:
> >>>>
> >>>>> Hi, Luis and Everyone:
> >>>>>
> >>>>> I am new ITK user and have trouble to build diffeomorphic demons on
> red hat
> >>>>> linux.
> >>>>>
> >>>>> 1 I installed Cmake and ITK. And I can build the HelloWorld Project
> and
> >>>>> several other registration projects in Example folders.
> >>>>>
> >>>>> 2 Than I am trying to buid diffeomorphic Demons downloaded from
> >>>>> http://hdl.handle.net/1926/510 by Tom.
> >>>>>
> >>>>> 3 I used the CMakeLists.txt given by Tom since I am not good at
> creating
> >>>>> CMake file. Cmake configuration and generating are ok.
> >>>>>
> >>>>> 4 When I run make, it shows a lot of errors such as following
> >>>>>
> >>>>>
> >>>>>
> /hometools/Application/DiffeomorphicDemons-2008-11-Vercauteren-IJSource/DemonsRegistration.cxx:11:54:
> >>>>> error: itkDiffeomorphicDemonsRegistrationFilter.h: No such file or
> directory
> >>>>>
> /home/tools/Application/DiffeomorphicDemons-2008-11-Vercauteren-IJSource/DemonsRegistration.cxx:13:60:
> >>>>> error: itkFastSymmetricForcesDemonsRegistrationFilter.h: No such file
> or
> >>>>> directory
> >>>>>
> /home/tools/Application/DiffeomorphicDemons-2008-11-Vercauteren-IJSource/DemonsRegistration.cxx:14:43:
> >>>>> error: itkGridForwardWarpImageFilter.h: No such file or directory
> >>>>>
> >>>>> 5 Clearly the compuater can't find the class written by Tom, which is
> >>>>> located at ITK_source/code/Review folder. Can you please help me to
> figure
> >>>>> out this problem.
> >>>>>
> >>>>> By the way, I followed ITK_gettingstartedI to build ITK, so I
> disabled build
> >>>>> example and application.
> >>>>>
> >>>>>
> >>>>> Thanks a lot and happy Christmas
> >>>>>
> >>>>>
> >>>>> George
> >>>>>
> >>>>> _______________________________________________
> >>>>> Insight-users mailing list
> >>>>> Insight-users at itk.org
> >>>>> http://www.itk.org/mailman/listinfo/insight-users
> >>>>>
> >>>>>
> >>>>>
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081223/c0a8ca08/attachment-0001.htm>


More information about the Insight-users mailing list