'CurvatureRegistrationFilter': is not a member of 'itk'.

Hi all,
I am currently try to implement the DeformableRegistration10 example, in that I am getting the following error C2039 ‘CurvatureRegistrationFilter’: is not a member of ‘itk’. Anyone have any idea how to fix this error?

Are you using CMake for your project? Did your ITK build correctly?

I met with the same problem, I can include the itkCurvatureRegistrationFilter.h, but can not use it. Have you fix it?

itkCurvatureRegistrationFilter.h has the following guard condition:

#if !defined(ITK_USE_CUFFTW) && (defined(ITK_USE_FFTWF) || defined(ITK_USE_FFTWD))

ITK’s build system does not enable building DeformableRegistration10 example unless FFTW is enabled. You need to build ITK with FFTW to be able to use this filter.

Got it, thank you very much!