[ITK-users] How to use itk::LandmarkBasedTransformInitializer for python supported ITK?
沈庄明
zhuangming.shen at sphic.org.cn
Tue Aug 23 21:53:03 EDT 2016
Hi all,
I'd like to do landmark based image registration using python supported ITK. I referred to this example (https://itk.org/Wiki/ITK/Examples/Registration/LandmarkBasedTransformInitializer) and want to modify the code to python. In this example, itk::LandmarkBasedTransformInitializer can be wrapped to python. But how to SetFixedLandmarks/SetMovingLandmarks using python? Because the input of SetFixedLandmarks/SetMovingLandmarks is fixedLandmarks/movingLandmarks, whose actual type is std::vector. Could anyone give me a short example on how to write it? Thanks in advance.
Regards,
Zhuangming Shen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20160824/b16254fb/attachment.html>
More information about the Insight-users
mailing list