Richard,<br><br>Interesting the number of people who have created NIfTI I/O capabilities in R. I have a couple versions of my own. I also run the Medical_Imaging task view on CRAN (<a href="http://cran.r-project.org">cran.r-project.org</a>). A recent addition to the MI code base is someone who has linked R to the cniftilib library from the NIfTI-1 project. I haven't used it much yet, but it would be interesting to compare the advantages of native-R versus outside-C implementations of I/O for medical imaging.<br>
<br>Brandon<br><br><div class="gmail_quote">2009/7/31 Richard Beare <span dir="ltr"><<a href="mailto:richard.beare@gmail.com">richard.beare@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The integration with R mentioned there looks pretty minor -<br>
transforming data into an R readable format. If all you are after is a<br>
way of reading nifti files in R then there are a few options<br>
available. There is a package on cran that does it, but is broken for<br>
big files. I've written a pure R interface that uses the internal IO<br>
commands, so no C to compile and it works with big files. It is<br>
extremely basic but anyone who wants it is welcome.<br>
<div><div></div><div class="h5"><br>
On Fri, Jul 31, 2009 at 7:08 AM, Don Bigler<<a href="mailto:dcb210@psu.edu">dcb210@psu.edu</a>> wrote:<br>
> Badri,<br>
> Actually, an Insight Journal article (<a href="http://hdl.handle.net/10380/3113" target="_blank">http://hdl.handle.net/10380/3113</a>)<br>
> was just submitted that describes an integration of R with image data.<br>
> Check it out for more details.<br>
> Don<br>
><br>
> Badri Roysam wrote:<br>
>><br>
>> I am curious as to what form such an integration would take. Are we<br>
>> talking about wrapping?<br>
>><br>
>> Badri Roysam<br>
>> Rensselaer Polytechnic Institute<br>
>> Troy, NY 12180, USA.<br>
>> email: <a href="mailto:Roysam@ecse.rpi.edu">Roysam@ecse.rpi.edu</a>, office: 518-276-8067.<br>
>><br>
>> On Jul 29, 2009, at 5:43 PM, "Don Bigler"<<a href="mailto:dcb210@psu.edu">dcb210@psu.edu</a>> wrote:<br>
>><br>
>>> Brandon,<br>
>>> I believe integration of ITK with open-source statistical packages like<br>
>>> R is a worthy endeavor. I've toyed with the idea myself for some time, but<br>
>>> I have not had the time to implement a solution. Perhaps the best way to<br>
>>> implement and disseminate something like this is through the Insight<br>
>>> Journal. Regardless, keep me posted as to any further progress you make in<br>
>>> this endeavor.<br>
>>> Don<br>
>>><br>
>>> --<br>
>>> Don Bigler, Ph.D.<br>
>>> The Pennsylvania State University<br>
>>> NMR Building<br>
>>> H066 Radiology<br>
>>> Hershey Medical Center<br>
>>> Hershey, PA 17033 Phone: (717)531-5858<br>
>>> Fax: (717)531-8486<br>
>>><br>
>>> Hershey Confidentiality Statement:<br>
>>><br>
>>> This message (including any attachments) contains information intended<br>
>>> for a specific individual(s) and purpose that may be privileged,<br>
>>> confidential or otherwise protected from disclosure pursuant to applicable<br>
>>> law. Any inappropriate use, distribution or copying of the message is<br>
>>> strictly prohibited and may subject you to criminal or civil penalty. If<br>
>>> you have received this transmission in error, please reply to the sender<br>
>>> indicating this error and delete the transmission from your system<br>
>>> immediately.<br>
>>><br>
>>><br>
>>> _____________________________________<br>
>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>><br>
>>> Visit other Kitware open-source projects at<br>
>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>><br>
>>> Please keep messages on-topic and check the ITK FAQ at:<br>
>>> <a 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 href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
>><br>
>><br>
>><br>
><br>
> --<br>
> Don Bigler, Ph.D.<br>
> The Pennsylvania State University<br>
> NMR Building<br>
> H066 Radiology<br>
> Hershey Medical Center<br>
> Hershey, PA 17033 Phone: (717)531-5858<br>
> Fax: (717)531-8486<br>
><br>
> Hershey Confidentiality Statement:<br>
><br>
> This message (including any attachments) contains information intended for a<br>
> specific individual(s) and purpose that may be privileged, confidential or<br>
> otherwise protected from disclosure pursuant to applicable law. Any<br>
> inappropriate use, distribution or copying of the message is strictly<br>
> prohibited and may subject you to criminal or civil penalty. If you have<br>
> received this transmission in error, please reply to the sender indicating<br>
> this error and delete the transmission from your system immediately.<br>
><br>
><br>
> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a 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 href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
</div></div></blockquote></div><br>