<div dir="ltr"><div><br></div><div style>Hi,</div><div style><br></div><div style>I&#39;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(&quot;itk::MaskFeaturePointSelectionFilter&quot; POINTER_WITH_SUPERCLASS)</div><div>  itk_wrap_image_filter(&quot;${WRAP_ITK_REAL}&quot; 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/&lt;ipython-input-5-3f49bc774a25&gt;</div>
<div>in &lt;module&gt;()</div><div>----&gt; 1 featureSelectionFilter.Update()</div><div><br></div><div>AttributeError: &#39;itkMaskFeaturePointSelectionFilterIF3&#39; object has no</div><div>attribute &#39;Update&#39;</div>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div style>thanks,</div><div style>David</div></div>