<div dir="ltr"><div><div>Hey Brad,<br><br></div>I actually do not know when the remote module documentation is generated. CC'ing Matt.<br><br></div>Francois<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 23, 2017 at 2:59 PM, Lowekamp, Bradley (NIH/NLM/LHC) [C] <span dir="ltr"><<a href="mailto:blowekamp@mail.nih.gov" target="_blank">blowekamp@mail.nih.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Francois,
<div><br>
</div>
<div>There does not seem to be a Doxygen page for <wbr>FixedPointInverseDisplacementF<wbr>ieldImageFilter. I thought all remote modules were suppose to be in Doxygen. Do you have any idea why?</div>
<div><br>
</div>
<div>Brad</div><div><div class="h5">
<div><br>
<div>
<blockquote type="cite">
<div>On May 22, 2017, at 4:00 PM, Francois Budin <<a href="mailto:francois.budin@kitware.com" target="_blank">francois.budin@kitware.com</a>> wrote:</div>
<br class="m_935995448879633811Apple-interchange-newline">
<div>
<div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div>
<div>
<div>
<div>Hello Mathew,<br>
<br>
</div>
To my knowledge there is no way to get the inverse transform directly when using ITKDiffeomorphicDemonsRegistra<wbr>tionFilter. You could try to invert the deformation field using one of the algorithm that are available in ITK for that purpose. It seems that you
tried one (InverDisplacementField) but have you tried the remote module [1]<br>
</div>
If you want to get the inverse transformation directly, you can also try to use [2] or use the registration method that has been implemented in this Insight Journal paper [3].<br>
<br>
</div>
Hope this helps,<br>
</div>
Francois<br>
<br>
[1]<span class="m_935995448879633811Apple-converted-space"> </span><a href="https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Remote/FixedPointInverseDisplacementField.remote.cmake" target="_blank">https://github.com/<wbr>InsightSoftwareConsortium/ITK/<wbr>blob/master/Modules/Remote/<wbr>FixedPointInverseDisplacementF<wbr>ield.remote.cmake</a><br>
[2]<span class="m_935995448879633811Apple-converted-space"> </span><a href="https://itk.org/Doxygen/html/classitk_1_1VariationalSymmetricDiffeomorphicRegistrationFilter.html" target="_blank">https://itk.org/Doxygen/<wbr>html/classitk_1_<wbr>1VariationalSymmetricDiffeomor<wbr>phicRegistrationFilter.html</a><br>
[3]<span class="m_935995448879633811Apple-converted-space"> </span><a href="http://www.insight-journal.org/browse/publication/644" target="_blank">http://www.insight-<wbr>journal.org/browse/<wbr>publication/644</a><br>
</div>
<div class="gmail_extra" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br>
<div class="gmail_quote">On Mon, May 22, 2017 at 3:25 PM, Mathew Guilfoyle<span class="m_935995448879633811Apple-converted-space"> </span><span dir="ltr"><<a href="mailto:mrguilfoyle@gmail.com" target="_blank">mrguilfoyle@gmail.<wbr>com</a>></span><span class="m_935995448879633811Apple-converted-space"> </span>wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I am using (Simple)ITK DiffeomorphicDemonsRegistratio<wbr>nFilter() to perform deformable registration of two 3D images. This works fine. Output from the filter is 'outImage' vector image which I then convert to a transform using<br>
<br>
dfTransform = DisplacementFieldTransform(out<wbr>Image).<br>
<br>
I can then resample my moving image using this transform and all looks as expected.<br>
<br>
My reading/understanding of diffeomorphic algorithms is that there should be an exact and readily computable inverse transform? I need this as I want to inverse warp a template segmentation performed on my reference image into the original space of my moving
image. How do I obtain the inverse DisplacementFieldTransform or the inverse vector image?<br>
<br>
I have tried the InvertDisplacementField filter but the output of this does not appear to correctly invert my warped image back to the original so I do not think this filter generates is a n accurate inverse, at least using default settings.<br>
<br>
Any ideas of if/how I can get an exact inverse of a deformable transform?<br>
<br>
Thanks<br>
<br>
<br>
______________________________<wbr>_______<br>
Powered by<span class="m_935995448879633811Apple-converted-space"> </span><a href="http://www.kitware.com/" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/product<wbr>s/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" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FA<wbr>Q</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/insight-users</a><br>
</blockquote>
</div>
<br>
</div>
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">______________________________<wbr>_______</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Powered
by<span class="m_935995448879633811Apple-converted-space"> </span></span><a href="http://www.kitware.com/" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">www.kitware.com</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Visit
other Kitware open-source projects at</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://www.kitware.com/opensource/opensource.html" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Kitware
offers ITK Training Courses, for more information visit:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://www.kitware.com/products/protraining.php" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Please
keep messages on-topic and check the ITK FAQ at:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://www.itk.org/Wiki/ITK_FAQ" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Follow
this link to subscribe/unsubscribe:</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<a href="http://public.kitware.com/mailman/listinfo/insight-users" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a></div>
</blockquote>
</div>
<br>
</div>
</div></div></div>
</blockquote></div><br></div>