[Insight-users] [ITK Community] C# Wrapper for ITK

Zhongliu Xie zhongliu.xie10 at imperial.ac.uk
Thu Jan 2 09:24:24 EST 2014


Thanks very much for your note, Dan.

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.

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.

Regards,
Zhongliu

On 30/12/2013 12:36, Dan Mueller wrote:
>
> Hi Nicholas,
>
> WrapITK does not currently support C#, and I know of no current plans 
> to do so.
>
> 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).
>
> 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?
>
> Good luck.
>
> Cheers, Dan
>
> On 30 Dec 2013 06:48, "Zhongliu Xie" <zhongliu.xie10 at imperial.ac.uk 
> <mailto:zhongliu.xie10 at imperial.ac.uk>> wrote:
>
>
>     Dear fellow ITK users,
>
>     I have been trying to use ITK on C#, but have encountered
>     difficulties.
>     For the moment, I have tried Simple ITK which has been a success,
>     however as far as I know Simple ITK does not support Iterators.
>     Therefore I have been thinking of wrapping ITK for C# environment. I
>     have also checked the ManagedITK page at
>     http://code.google.com/p/manageditk/, but it says the project is no
>     longer under active development, and the "ITK version 4 may include
>     internal support for C# wrapping, making ManagedITK unnecessary".
>     Therefore I would like to ask what is the latest way to wrap ITK? Does
>     anybody have a clue?
>
>     Many thanks,
>     Nicholas
>
>
>
>     _____________________________________
>     Powered by www.kitware.com <http://www.kitware.com>
>
>     Visit other Kitware open-source projects at
>     http://www.kitware.com/opensource/opensource.html
>
>     Kitware offers ITK Training Courses, for more information visit:
>     http://www.kitware.com/products/protraining.php
>
>     Please keep messages on-topic and check the ITK FAQ at:
>     http://www.itk.org/Wiki/ITK_FAQ
>
>     Follow this link to subscribe/unsubscribe:
>     http://www.itk.org/mailman/listinfo/insight-users
>     _______________________________________________
>     Community mailing list
>     Community at itk.org <mailto:Community at itk.org>
>     http://public.kitware.com/cgi-bin/mailman/listinfo/community
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140102/f40ca04d/attachment.htm>


More information about the Insight-users mailing list