[Insight-users] VectorImage Registration Metric
Kevin H. Hobbs
hobbsk at ohiou.edu
Thu Jul 3 06:07:27 EDT 2008
On Wed, 2008-07-02 at 16:47 -0400, Karthik Krishnan wrote:
> Try it out and please let us know.....
>
Thank you Karthik!
I did have to fiddle with it a little I included some stuff and put in a
"public:" at the beginning.
The whole changed file is attached.
> Also swap out the typedef for the interpolator in
> itk::VectorImageToImageMetric with this new interpolator.
I attached the diff I made to my svn checkout.
My test program now compiles with the warning:
/home/kevin/kitware/Insight/Code/Common/itkImageConstIteratorWithIndex.h: In member function ‘const typename TImage::PixelType& itk::ImageConstIteratorWithIndex<TImage>::Value() const [with TImage = itk::VectorImage<unsigned char, 3u>]’:
/home/kevin/Documents/VectorImageRegistrationMethod/Source/itkVectorMeanSquaresImageToImageMetric.txx:203: instantiated from ‘void itk::VectorMeanSquaresImageToImageMetric<TFixedImage, TMovingImage>::GetDerivative(const typename itk::VectorImageToImageMetric<TFixedImage, TMovingImage>::TransformParametersType&, typename itk::VectorImageToImageMetric<TFixedImage, TMovingImage>::DerivativeType&) const [with TFixedImage = itk::VectorImage<unsigned char, 3u>, TMovingImage = itk::VectorImage<unsigned char, 3u>]’
/home/kevin/Documents/stg_anatomy/align_rot_vect.cxx:27: instantiated from here
/home/kevin/kitware/Insight/Code/Common/itkImageConstIteratorWithIndex.h:241: warning: returning reference to temporary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svndiff
Type: text/x-patch
Size: 1050 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080703/4137d2e5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkVectorImageInterpolateImageFunction.h
Type: text/x-chdr
Size: 4178 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080703/4137d2e5/attachment-0001.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080703/4137d2e5/attachment-0001.pgp>
More information about the Insight-users
mailing list