[ITK] [ITK-users] Update on integration with R

brian avants stnava at gmail.com
Thu Sep 4 09:33:44 EDT 2014


you can also do ( in R )

install.packages("devtools")
library(devtools)
install_github("stnava/ANTsR")
library(ANTsR)
img<-antsImageRead("image.nii.gz",3)
antsImageWrite(img,'temp.nii.gz')

it's itk underneath


brian




On Thu, Sep 4, 2014 at 9:09 AM, Arman Eshaghi <arman.eshaghi at gmail.com>
wrote:

> Thanks Brad and Matt, just wanted to read and write files with ITK in R.
> SITK works fine on Linux.
>
> All the best,
> Arman
>
> ps Just found another package (Rcpp) that may be useful for this as well
>
>
> On Thu, Sep 4, 2014 at 5:28 PM, Bradley Lowekamp <blowekamp at mail.nih.gov>
> wrote:
>
>> Hello,
>>
>> What are you looking to do with R and ITK?
>>
>> The SimpleITK 0.8.0 release works well with R and the SWIG 2.0.11 version
>> and is tested on linux and OSX. There are some issue with building R on
>> windows that have not been addressed. Please let us know if you have
>> further questions about getting this built.
>>
>> Good luck,
>> Brad
>>
>> On Sep 4, 2014, at 8:44 AM, Matt McCormick <matt.mccormick at kitware.com>
>> wrote:
>>
>> > Hi Arman,
>> >
>> > Since WrapITK uses SWIG, generating an R interface should be possible,
>> > but I do not know anyone who has tried it recently.
>> >
>> > SimpleITK uses SWIG and the R interface is enabled [1].
>> >
>> > HTH,
>> > Matt
>> >
>> > [1] http://www.itk.org/Wiki/SimpleITK/GettingStarted#R_installation
>> >
>> > On Thu, Sep 4, 2014 at 3:39 AM, Arman Eshaghi <arman.eshaghi at gmail.com>
>> wrote:
>> >> Hi,
>> >>
>> >> I'm wondering whether this proposal below from 2009 had any progresses
>> >> regarding the integration of R statistics with ITK?
>> >>
>> >>
>> http://www.itk.org/Wiki/Proposals:Integration_with_R_Language#R_Interface_Examples_with_other_languages
>> >>
>> >> Thanks
>> >> Arman
>> >>
>> >> _____________________________________
>> >> Powered by 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://public.kitware.com/mailman/listinfo/insight-users
>> >>
>> > _____________________________________
>> > Powered by 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://public.kitware.com/mailman/listinfo/insight-users
>>
>>
>
> _____________________________________
> Powered by 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://public.kitware.com/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140904/68596f3e/attachment-0002.html>
-------------- next part --------------
_____________________________________
Powered by 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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list