<div dir="ltr">hi tim <div><br></div><div>you can use SyN which generates the forward and inverse mappings directly.</div><div><br></div><div>the method is available through ants <a href="http://stnava.github.io/ANTs/">http://stnava.github.io/ANTs/</a> or directly in itk.</div>
<div><br></div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1SyNImageRegistrationMethod.html">http://www.itk.org/Doxygen/html/classitk_1_1SyNImageRegistrationMethod.html</a><br></div><div><br></div><div><a href="https://github.com/InsightSoftwareConsortium/ITK/blob/45aa2e491ebf450b00d9b87230bc83089ee95ee5/Modules/Registration/RegistrationMethodsv4/test/itkSyNImageRegistrationTest.cxx">https://github.com/InsightSoftwareConsortium/ITK/blob/45aa2e491ebf450b00d9b87230bc83089ee95ee5/Modules/Registration/RegistrationMethodsv4/test/itkSyNImageRegistrationTest.cxx</a><br>
</div></div><div class="gmail_extra"><br clear="all"><div><div><br></div>brian<br><div><br></div><div><br></div></div>
<br><br><div class="gmail_quote">On Wed, Dec 4, 2013 at 1:39 PM, Tim Bhatnagar <span dir="ltr"><<a href="mailto:tim.bhatnagar@gmail.com" target="_blank">tim.bhatnagar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hello all,<br><br></div>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.<br>
<br></div>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:<br><br>InvertingDefFields.cxx<br>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'<br>
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<br>
<br><br></div>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.<br>
<br>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!<br>
<br></div>Thanks so much,<br clear="all"><div><div><div><div><div><br>-- <br>Tim Bhatnagar<br>PhD Candidate<br>Orthopaedic Injury Biomechanics Group<br>Department of Mechanical Engineering<br>University of British Columbia<br>
<br>Rm 5000 - 818 West 10th Ave.<br>Vancouver, BC<br>Canada<br>V5Z 1M9<br><br>Ph: <a href="tel:%28604%29%20675-8845" value="+16046758845" target="_blank">(604) 675-8845</a><br>Fax: <a href="tel:%28604%29%20675-8820" value="+16046758820" target="_blank">(604) 675-8820</a><br>
Web: <a href="http://oibg.mech.ubc.ca" target="_blank">oibg.mech.ubc.ca</a><br>
</div></div></div></div></div></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>