[Insight-developers] Develop ITK
Dan Mueller
dan.muel at gmail.com
Mon Jun 29 12:08:53 EDT 2009
Hi Nikos,
Did you build your source in Release mode? Building in release mode
can have massive speed impact...
Please let us know.
Regards, Dan
2009/6/29 Nikolaos Dikaios <nd301 at wbic.cam.ac.uk>:
> Dear all,
>
> I tried to develop a transformation function in the ITK similar to the
> itkBSplineDeformableTransform.h.
>
> When i use the the new transformation function, registration becomes
> extremely slow (compared to the same registration scheme using the
> BSplineDeformableTransform). Has anybody experienced this problem ?
>
> Thank you in advance for your help,
>
> Nikos
>
> PS. The MakeList that i use to cmake is:
>
> # Project name
> PROJECT(itk_aff_p_nr_reg)
>
> # Find the ITK stuff
> FIND_PACKAGE(ITK)
> IF(ITK_FOUND)
> INCLUDE(${ITK_USE_FILE})
> ENDIF(ITK_FOUND)
>
> # Set a path to the sources
> SET(SOURCES
> ../Sources
> )
>
>
>
> # Create a library using different *.cxx
> SET(myNRR
> ${SOURCES}/itkNewBSplineInterpolationWeightFunction.cxx
> ${SOURCES}/itkBSplineTransform.cxx
> )
> ADD_LIBRARY( aff_p_nr_reg ${myNRR} )
>
> # Location of library include files
> INCLUDE_DIRECTORIES( ${SOURCES} )
>
> # Library location for the linker
> LINK_DIRECTORIES( ${SOURCES} )
>
> # Add the executable built from *.cxx
> ADD_EXECUTABLE( itk_aff_p_nr_reg itk_aff_p_nr_reg.cxx )
>
> # Link the executable with required libraries
> TARGET_LINK_LIBRARIES( itk_aff_p_nr_reg aff_p_nr_reg ITKCommon
> ITKAlgorithms ITKBasicFilters ITKIO ITKStatistics ITKNumerics )
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
More information about the Insight-developers
mailing list