[ITK] [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/community/attachments/20160824/b16254fb/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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list