<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Thanks very much for your note, Dan.<br>
<br>
I actually was using ITK on C++ previously and now switching to
C#, so my code contains operation with iterators for processing of
regions. I guess I would take the advice to use SimpleITK.<br>
<br>
Then for SimpleITK, is there a tutorial for using it on C#? The
ITK Software Guide does not include SimpleITK, and as far as I
know most SimpleITK tutorials are python based. Thanks.<br>
<br>
Regards,<br>
Zhongliu<br>
<br>
On 30/12/2013 12:36, Dan Mueller wrote:<br>
</div>
<blockquote
cite="mid:CAPNvZ5YV_NkwEDedtbmrvdRqCj9auk=HTViqLVJs3pUhsT6=Sw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<p dir="ltr">Hi Nicholas,</p>
<p dir="ltr">WrapITK does not currently support C#, and I know of
no current plans to do so.</p>
<p dir="ltr">Even if WrapITK did support C#, iterators would be of
little practical use because the cost of transferring from the
native language to the wrapped language would incur too great a
performance penalty (i.e. it would be too slow).</p>
<p dir="ltr">I would recommend using SimpleITK. What operation do
you need to use iterators? Can you create a custom filter
utilising the iterator and wrap that? Or create the desired
operation by chaining together existing filters?</p>
<p dir="ltr">Good luck.</p>
<p dir="ltr">Cheers, Dan</p>
<div class="gmail_quote">On 30 Dec 2013 06:48, "Zhongliu Xie" <<a
moz-do-not-send="true"
href="mailto:zhongliu.xie10@imperial.ac.uk">zhongliu.xie10@imperial.ac.uk</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Dear fellow ITK users,<br>
<br>
I have been trying to use ITK on C#, but have encountered
difficulties.<br>
For the moment, I have tried Simple ITK which has been a
success,<br>
however as far as I know Simple ITK does not support
Iterators.<br>
Therefore I have been thinking of wrapping ITK for C#
environment. I<br>
have also checked the ManagedITK page at<br>
<a moz-do-not-send="true"
href="http://code.google.com/p/manageditk/" target="_blank">http://code.google.com/p/manageditk/</a>,
but it says the project is no<br>
longer under active development, and the "ITK version 4 may
include<br>
internal support for C# wrapping, making ManagedITK
unnecessary".<br>
Therefore I would like to ask what is the latest way to wrap
ITK? Does<br>
anybody have a clue?<br>
<br>
Many thanks,<br>
Nicholas<br>
<br>
<br>
<br>
_____________________________________<br>
Powered by <a moz-do-not-send="true"
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information
visit:<br>
<a moz-do-not-send="true"
href="http://www.kitware.com/products/protraining.php"
target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a moz-do-not-send="true"
href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.itk.org/mailman/listinfo/insight-users"
target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
_______________________________________________<br>
Community mailing list<br>
<a moz-do-not-send="true" href="mailto:Community@itk.org"
target="_blank">Community@itk.org</a><br>
<a moz-do-not-send="true"
href="http://public.kitware.com/cgi-bin/mailman/listinfo/community"
target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>