[Insight-users] Update method missing in python wrapping
David Fuentes
fuentesdt at gmail.com
Tue Apr 2 18:23:00 EDT 2013
Hi,
I'm attempting to add a python wrapping for
the MaskFeaturePointSelectionFilter class using:
SCRGP2$ cat
Modules/Filtering/ImageFeature/wrapping/itkMaskFeaturePointSelectionFilter.wrap
itk_wrap_class("itk::MaskFeaturePointSelectionFilter"
POINTER_WITH_SUPERCLASS)
itk_wrap_image_filter("${WRAP_ITK_REAL}" 1 3)
itk_end_wrap_class()
everything builds fine, but the Update method is missing ?
I need to run update to get the feature points output.
How do i expose the Update method ?
In [2]: import itk
In [3]: ScalarImageType = itk.Image.F3
In [4]: featureSelectionFilter =
itk.MaskFeaturePointSelectionFilter[ScalarImageType].New()
In [5]: featureSelectionFilter.Update()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/workarea/fuentes/github/<ipython-input-5-3f49bc774a25>
in <module>()
----> 1 featureSelectionFilter.Update()
AttributeError: 'itkMaskFeaturePointSelectionFilterIF3' object has no
attribute 'Update'
thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130402/5e3cc0f4/attachment.htm>
More information about the Insight-users
mailing list