<div>Hello to all</div><div> </div><div>I'm trying to define the trial points for a Fast Marching Image Filter with the method 'SetTrialPoints' (commands in <font color="#000066"><strong>blue</strong></font>) but I receive the following message (in <font color="#006600">green</font>).</div>
<div>I'd like to figure out what I'm missing.</div><div> </div><div>Do you have any ideas??</div><div> </div><div> </div><div> </div><div><font color="#000066"><strong>marching = sitk.FastMarchingImageFilter()</strong></font></div>
<div><font color="#000066"><strong></strong></font> </div><div><font color="#000066"><strong>marching.SetTrialPoints((100,200))<br></strong></font><font color="#006600">---------------------------------------------------------------------------<br>
TypeError Traceback (most recent call last)<br>C:\Users\Student3\Desktop\MRI images\<ipython-input-68-fa3390ad2511> in <module>()<br>----> 1 marching.SetTrialPoints((100,200))</font></div>
<div><font color="#006600">C:\Python27\lib\site-packages\simpleitk-0.4.0-py2.7-win-amd64.egg\SimpleITK.pyc in SetTrialPoints(self, *args, **kwargs)<br> 9540 def SetTrialPoints(self, *args, **kwargs):<br> 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"""<br>
-> 9542 return _SimpleITK.FastMarchingImageFilter_SetTrialPoints(self, *args, **kwargs)<br> 9543 <br> 9544 def AddTrialPoint(self, *args, **kwargs):</font></div><div><font color="#006600">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 > > > >'</font></div>