Dear ITK users,<div><br></div><div>I am a newbie to ITK and thought SimpleITK would be a good place to start. I am currently using SimpleITK in a Java environment. I am having some issues with setting the trial points in the program.</div>
<div>Here is the code snippet:</div><div>.............</div><div><div>        org.itk.simple.VectorUIntList seed = new org.itk.simple.VectorUIntList();</div><div>        seed = ([128,128]);</div><div>        org.itk.simple.FastMarchingImageFilter waveProp = new org.itk.simple.FastMarchingImageFilter();</div>
<div>        waveProp.setTrialPoints(seed);</div></div><div>.............</div><div><br></div><div>I get the following error at compile time:</div><div><div><br></div><div>C:\Users\ReubenMiddendorf\Documents\NetBeansProjects\JavaSimpleITKFastMarching\src\javasimpleitkfastmarching\JavaSimpleITKFastMarching.java:22: illegal start of expression</div>
<div>        seed = ([128,128]);</div><div>C:\Users\ReubenMiddendorf\Documents\NetBeansProjects\JavaSimpleITKFastMarching\src\javasimpleitkfastmarching\JavaSimpleITKFastMarching.java:22: &#39;;&#39; expected</div><div>        seed = ([128,128]);</div>
</div><div><br></div><div>I came across the following on the net:</div><div><a href="http://itk-insight-users.2283740.n2.nabble.com/About-SetTrialPoints-in-FastMarchingImageFilter-td7560371.html">http://itk-insight-users.2283740.n2.nabble.com/About-SetTrialPoints-in-FastMarchingImageFilter-td7560371.html</a> </div>
<div>but the solution there doesn&#39;t seem to work here.</div><div><br></div><div>Any help would be greatly appreciated.</div><div><br></div><div>Regards,</div><div><br></div><div>Reuben Middendorf</div><div><br></div><div>
<br></div>