[Insight-developers] itk and ipython interaction enhancement
Brad King
brad.king at kitware.com
Thu Apr 7 14:17:07 EDT 2005
Gaetan Lehmann wrote:
> I wrote a small module for python which give an easier access to itk
> classes (file in attachement).
> all classes are in itk module and are not prefixed with itk, template
> types are attributes of the filter class, and methods of a filter is
> avaible as attribute of the type.
> For example itkRescaleIntensityImageFilterF2F2_New() is called with
> itk.RescaleIntensityImageFilter.F2F2.New().
> The main difference with InsightToolkit module is for completion with
> ipython. When I heat <tab>, I can easily find the class I need. With
> InsightToolkit module, it's really hard, because there is so much
> attributes in the module.
>
> Another interesting feature with this module, is to easily change
> filter type in all the script. As we do in C++, we can "declare" types
> which will be used by several filters :
Cool! Please create a feature request in the bug tracker:
http://www.itk.org/Bug
Once it is created you can go back in and attach your module.
Thanks,
-Brad
More information about the Insight-developers
mailing list