[Insight-users] About 'SetTrialPoints' in 'FastMarchingImageFilter()'

Ing. Arturo Vargas Olivares ing.arturo.vargas at gmail.com
Tue May 15 13:42:12 EDT 2012


Hello to all

I'm trying to define the trial points for a Fast Marching Image Filter with
the method 'SetTrialPoints' (commands in *blue*) but I receive the
following message (in green).
I'd like to figure out what I'm missing.

Do you have any ideas??



*marching = sitk.FastMarchingImageFilter()*
**
*marching.SetTrialPoints((100,200))
*---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
C:\Users\Student3\Desktop\MRI images\<ipython-input-68-fa3390ad2511> in
<module>()
----> 1 marching.SetTrialPoints((100,200))
C:\Python27\lib\site-packages\simpleitk-0.4.0-py2.7-win-amd64.egg\SimpleITK.pyc
in SetTrialPoints(self, *args, **kwargs)
   9540     def SetTrialPoints(self, *args, **kwargs):
   9541         """SetTrialPoints(self,
std::vector<(std::vector<(uint32_t,std::allocator<(uint32_t)>)>,std::allocator<(std::vector<(uint32_t,std::allocator<(uint32_t)>)>)>)>
t) -> Self"""
-> 9542         return
_SimpleITK.FastMarchingImageFilter_SetTrialPoints(self, *args, **kwargs)
   9543
   9544     def AddTrialPoint(self, *args, **kwargs):
TypeError: in method 'FastMarchingImageFilter_SetTrialPoints', argument 2
of type 'std::vector< std::vector< uint32_t,std::allocator< uint32_t >
>,std::allocator< std::vector< uint32_t,std::allocator< uint32_t > > > >'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120515/ed431229/attachment.htm>


More information about the Insight-users mailing list