[Insight-users] warping a clound of points when the target landmarks form a straight line
Ramón Casero Cañas
rcasero at gmail.com
Thu Jul 7 06:23:06 EDT 2011
Just a quick observation on a warning given by
BSplineScatteredDataPointSetToImageFilter.
Date: $Date: 2010-03-02 19:26:09 $
Version: $Revision: 1.12 $
I have some includes in my file
http://code.google.com/p/gerardus/source/browse/trunk/matlab/ItkToolbox/ItkPSTransform.cpp
#include "itkElasticBodySplineKernelTransform.h"
#include "itkElasticBodyReciprocalSplineKernelTransform.h"
#include "itkThinPlateSplineKernelTransform.h"
#include "itkThinPlateR2LogRSplineKernelTransform.h"
#include "itkVolumeSplineKernelTransform.h"
and it compiles without warnings or errors.
But if I add the line
#include "itkBSplineScatteredDataPointSetToImageFilter.h"
Then I get the warnings
<SCREEN>
$ make
[ 77%] Built target itk_imfilter
[ 88%] Building CXX object
ItkToolbox/CMakeFiles/itk_pstransform.dir/ItkPSTransform.cpp.o
In file included from
/usr/local/include/InsightToolkit/Common/itkKernelTransform.h:356:0,
from
/home/ramc/secure_data/comlab/gerardus/matlab/ItkToolbox/ItkPSTransform.cpp:58:
/usr/local/include/InsightToolkit/Common/itkKernelTransform.txx: In
member function ‘void itk::KernelTransform<TScalarType,
NDimensions>::ComputeP() [with TScalarType = double, unsigned int
NDimensions = 2u]’:
/usr/local/include/InsightToolkit/Common/itkKernelTransform.txx:310:18:
warning: ‘p.itk::Point<double, 2u>::<anonymous>.itk::FixedArray<double,
2u>::m_InternalArray[0u]’ may be used uninitialized in this function
/usr/local/include/InsightToolkit/Common/itkKernelTransform.txx:310:18:
warning: ‘p.itk::Point<double, 2u>::<anonymous>.itk::FixedArray<double,
2u>::m_InternalArray[1u]’ may be used uninitialized in this function
/usr/local/include/InsightToolkit/Common/itkKernelTransform.txx: In
member function ‘void itk::KernelTransform<TScalarType,
NDimensions>::ComputeP() [with TScalarType = float, unsigned int
NDimensions = 2u]’:
/usr/local/include/InsightToolkit/Common/itkKernelTransform.txx:310:18:
warning: ‘p.itk::Point<float, 2u>::<anonymous>.itk::FixedArray<float,
2u>::m_InternalArray[0u]’ may be used uninitialized in this function
/usr/local/include/InsightToolkit/Common/itkKernelTransform.txx:310:18:
warning: ‘p.itk::Point<float, 2u>::<anonymous>.itk::FixedArray<float,
2u>::m_InternalArray[1u]’ may be used uninitialized in this function
Linking CXX shared library itk_pstransform.mexa64
[ 88%] Built target itk_pstransform
[100%] Built target bwregiongrow
</SCREEN>
Best regards,
Ramon.
--
Dr. Ramón Casero Cañas
Computational Biology
Department of Computer Science
University of Oxford
Wolfson Building, Parks Rd
Oxford OX1 3QD
tlf +44 (0) 1865 610737
web http://web.comlab.ox.ac.uk/people/Ramon.CaseroCanas
photos http://www.flickr.com/photos/rcasero/
More information about the Insight-users
mailing list