[Insight-users] NonUniformBSpline vnl_svd error
Dennis Jen
dsjen at nmr.mgh.harvard.edu
Mon Aug 7 11:11:41 EDT 2006
Hi,
I've run into a problem while using the NonUniformBSpline class.
While trying to compile, I get the following error where I call the
ComputeControlPoints method:
Scanning dependencies of target poistats
Building CXX object CMakeFiles/poistats.dir/poistats.o
Linking CXX executable poistats
Scanning dependencies of target TestDriver
Building CXX object test/CMakeFiles/TestDriver.dir/TestPoistatsDriver.o
Building CXX object test/CMakeFiles/TestDriver.dir/TestPoistats.o
/usr/pubsw/packages/itk/2.6.0/include/InsightToolkit/Common/itkNonUniformBSpline.txx:
In copy constructor
`vnl_matrix_inverse<double>::vnl_matrix_inverse(const
vnl_matrix_inverse<double>&)':
/usr/pubsw/packages/itk/2.6.0/include/InsightToolkit/Common/itkNonUniformBSpline.txx:315:
instantiated from `void
itk::NonUniformBSpline<TDimension>::ComputeControlPoints() [with
unsigned int TDimension = 3u]'
/homes/10/dsjen/heraclitus/working/workspace/fd-analysis-trunk/src/test/../itkPoistatsFilter.txx:92:
instantiated from `static itk::Array2D<double>*
itk::PoistatsFilter<TInputImage,
TOutputImage>::RethreadPath(itk::Array2D<double>*, int) [with
TInputImage = TestPoistats::TestRethreadPath()::FloatImage3DType,
TOutputImage = TestPoistats::TestRethreadPath()::FloatImage3DType]'
/homes/10/dsjen/heraclitus/working/workspace/fd-analysis-trunk/src/test/TestPoistats.cpp:159:
instantiated from here
/usr/pubsw/packages/itk/2.6.0/include/InsightToolkit/Utilities/vxl/core/vnl/algo/vnl_svd.h:193:
error: `vnl_svd<T>::vnl_svd(const vnl_svd<T>&) [with T = double]' is private
/usr/pubsw/packages/itk/2.6.0/include/InsightToolkit/Common/itkNonUniformBSpline.txx:315:
error: within this context
make[2]: *** [test/CMakeFiles/TestDriver.dir/TestPoistats.o] Error 1
make[1]: *** [test/CMakeFiles/TestDriver.dir/all] Error 2
make: *** [all] Error 2
Is there an easy way around this or alternate cubic spline classes in
itk? At the moment, I'm just looking to use a cubic spline
interpolation on a number of points and resample on a finer scale.
Thanks,
Dennis
More information about the Insight-users
mailing list