<div dir="ltr"><div><br></div><div style>Hi,</div><div style><br></div><div style>I'm attempting to add a python wrapping for the MaskFeaturePointSelectionFilter class using:</div><div><br></div><div>SCRGP2$ cat Modules/Filtering/ImageFeature/wrapping/itkMaskFeaturePointSelectionFilter.wrap </div>
<div>itk_wrap_class("itk::MaskFeaturePointSelectionFilter" POINTER_WITH_SUPERCLASS)</div><div> itk_wrap_image_filter("${WRAP_ITK_REAL}" 1 3)</div><div>itk_end_wrap_class()</div><div><br></div><div style>
everything builds fine, but the Update method is missing ?</div><div style>I need to run update to get the feature points output.</div><div style>How do i expose the Update method ?</div><div><br></div><div><div>In [2]: import itk </div>
<div><br></div><div>In [3]: ScalarImageType = itk.Image.F3</div><div><br></div><div>In [4]: featureSelectionFilter = itk.MaskFeaturePointSelectionFilter[ScalarImageType].New()</div><div><br></div><div>In [5]: featureSelectionFilter.Update()</div>
<div>---------------------------------------------------------------------------</div><div>AttributeError Traceback (most recent call last)</div><div>/workarea/fuentes/github/<ipython-input-5-3f49bc774a25></div>
<div>in <module>()</div><div>----> 1 featureSelectionFilter.Update()</div><div><br></div><div>AttributeError: 'itkMaskFeaturePointSelectionFilterIF3' object has no</div><div>attribute 'Update'</div>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div style>thanks,</div><div style>David</div></div>