[Insight-users] SimpleITK FastMarching
Reuben Middendorf
rueben.middendorf at gmail.com
Thu Oct 18 15:12:47 EDT 2012
Dear ITK users,
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.
Here is the code snippet:
.............
org.itk.simple.VectorUIntList seed = new
org.itk.simple.VectorUIntList();
seed = ([128,128]);
org.itk.simple.FastMarchingImageFilter waveProp = new
org.itk.simple.FastMarchingImageFilter();
waveProp.setTrialPoints(seed);
.............
I get the following error at compile time:
C:\Users\ReubenMiddendorf\Documents\NetBeansProjects\JavaSimpleITKFastMarching\src\javasimpleitkfastmarching\JavaSimpleITKFastMarching.java:22:
illegal start of expression
seed = ([128,128]);
C:\Users\ReubenMiddendorf\Documents\NetBeansProjects\JavaSimpleITKFastMarching\src\javasimpleitkfastmarching\JavaSimpleITKFastMarching.java:22:
';' expected
seed = ([128,128]);
I came across the following on the net:
http://itk-insight-users.2283740.n2.nabble.com/About-SetTrialPoints-in-FastMarchingImageFilter-td7560371.html
but the solution there doesn't seem to work here.
Any help would be greatly appreciated.
Regards,
Reuben Middendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121018/9a7a9b1d/attachment.htm>
More information about the Insight-users
mailing list