Hi all,
Could someone help to wrap itk.MultiResolutionPDEDeformableRegistration to Python? As a result, I can use multi-resolution deformable registration. Thanks in advance.
Regards,
Zhuangming Shen
Hi all,
Could someone help to wrap itk.MultiResolutionPDEDeformableRegistration to Python? As a result, I can use multi-resolution deformable registration. Thanks in advance.
Regards,
Zhuangming Shen
Dear Zhuangming,
the ITK Software Guide contains a section (9.5 Wrapping) devoted to explain how wrapping can be done in ITK.
Each module contains a wrapping
folder, where the *.warp
files are located. You can get some inspiration by reading the mentioned section and having a look at some of the existing wrap files.
You may want to read the CONTRIBUTING guide to submit a topic for revision, and hence, be the author of such a great contribution !
Let us know if you find difficulties.
Dear @zhuangming.shen,
a topic was submitted to gerrit for review with the wrap file of the mentioned filter:
http://review.source.kitware.com/#/c/23203/
Could you please test the patch set and tell us if you can use it locally with no issues?
Thanks.
Dear @jhlegarreta,
Thanks for your effort. I just downloaded the latest ITK source code from github and compiled it. I enabled ITKV3_COMPATIBILITY, but disabled Module_ITKv4Compatibility. After that, I still cannot run itk.MultiResolutionPDEDeformableRegistration. Did I do something wrong?
Regards,
Zhuangming Shen
Thanks for trying.
Please notice that the topic has not been merged into ITK master
. In order to test the Python wrap of the class you will need to checkout the topic:
git fetch http://review.source.kitware.com/ITK refs/changes/03/23203/2 && git checkout FETCH_HEAD
git checkout -b AddWrappingToMultiResolutionPDEDeformableRegistration-for-release
Then try to use it.
Please let us know the result of this.
Thanks for testing @zhuangming.shen !
@fbudin @matt.mccormick does this ring a bell to you?
@zhuangming.shen Could you please try building with the ITKV3_COMPATIBILITY
CMake option OFF
? It should address the build error per:
Hi @matt.mccormick and @jhlegarreta,
Thanks for your responses. It can work now.
The topic has been merged into master
.
@zhuangming.shen thanks for testing ! @matt.mccormick thanks for merging !