[Insight-developers] Develop ITK
Nikolaos Dikaios
nd301 at wbic.cam.ac.uk
Mon Jun 29 08:28:47 EDT 2009
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 )
More information about the Insight-developers
mailing list