[ITK Community] [Insight-users] issues with inverting deformation fields
brian avants
stnava at gmail.com
Wed Dec 4 13:46:45 EST 2013
hi tim
you can use SyN which generates the forward and inverse mappings directly.
the method is available through ants http://stnava.github.io/ANTs/ or
directly in itk.
http://www.itk.org/Doxygen/html/classitk_1_1SyNImageRegistrationMethod.html
https://github.com/InsightSoftwareConsortium/ITK/blob/45aa2e491ebf450b00d9b87230bc83089ee95ee5/Modules/Registration/RegistrationMethodsv4/test/itkSyNImageRegistrationTest.cxx
brian
On Wed, Dec 4, 2013 at 1:39 PM, Tim Bhatnagar <tim.bhatnagar at gmail.com>wrote:
> Hello all,
>
> Sorry to make a repeat request for this issue.. I have made a project file
> for Visual C++ Express 2010 using the attached cmakelists and
> InvertingDefFields.cxx files, which are linked to the ITK libraries.
>
> The cxx file (and its corresponding hxx file) was downloaded from the
> github recently, but I am not able to build my solution without getting the
> following error:
>
> InvertingDefFields.cxx
> 2>c:\itkrap\insighttoolkit-4.2.0\modules\filtering\displacementfield\include\itkInverseDisplacementFieldImageFilter.hxx(353):
> error C2143: syntax error : missing ';' before
> 'itk::InverseDisplacementFieldImageFilter<TInputImage,TOutputImage>::GetMTime'
> 2>c:\itkrap\insighttoolkit-4.2.0\modules\filtering\displacementfield\include\itkInverseDisplacementFieldImageFilter.hxx(353):
> error C4430: missing type specifier - int assumed. Note: C++ does not
> support default-int
>
>
> I am, by no means, an apt c++ programmer, and I have tried everything I
> can to address this error, but to no avail. Is there anything that anyone
> can suggest? I'll try anything.. this is most likely the last applictiton I
> need before my dissertation can be written up (hopefully!), and this
> problem has been dragging on for a while.
>
> I've attached the related files - any help is much, much appreciated. OR,
> if you have access to a different set of files to acquire an the inverse of
> a displacement field generated by Demon's Registration, I'd be happy to try
> that too!
>
> Thanks so much,
>
> --
> Tim Bhatnagar
> PhD Candidate
> Orthopaedic Injury Biomechanics Group
> Department of Mechanical Engineering
> University of British Columbia
>
> Rm 5000 - 818 West 10th Ave.
> Vancouver, BC
> Canada
> V5Z 1M9
>
> Ph: (604) 675-8845
> Fax: (604) 675-8820
> Web: oibg.mech.ubc.ca
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20131204/694e6bdb/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list