<div dir="ltr"><div>Thanks.</div><div>David, so the "TestNIFTIReaderWriter.py" would be the example to write a nifiti in VTK? <br><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Feb 6, 2014 at 8:57 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, ITK has dicom and nifti support.<br>
<div><div class="h5"><br>
On Thu, Feb 6, 2014 at 9:31 PM, Miro Drahos <<a href="mailto:mdrahos@robodoc.com">mdrahos@robodoc.com</a>> wrote:<br>
> Fantastic, I stand corrected!<br>
> Thank you David!<br>
><br>
><br>
><br>
> On 02/06/2014 06:05 PM, David Gobbi wrote:<br>
>><br>
>> There is a VTK class for writing NIFTI files, and I even submitted it to<br>
>> VTK<br>
>> along with a test, but there was no response to my requests for reviews<br>
>> so it is still sitting in the queue:<br>
>> <a href="http://review.source.kitware.com/#/c/10538/" target="_blank">http://review.source.kitware.com/#/c/10538/</a><br>
>><br>
>> Eventually I will re-submit a more recent version of these classes and see<br>
>> if they get a bit more attention.<br>
>><br>
>> David<br>
>><br>
>><br>
>> On Thu, Feb 6, 2014 at 5:19 PM, Miro Drahos <<a href="mailto:mdrahos@robodoc.com">mdrahos@robodoc.com</a>> wrote:<br>
>>><br>
>>> You will have to use some 3rd party tool, like mricron's dcm2nii. There<br>
>>> is<br>
>>> no VTK class that would write nifti image.<br>
>>> If you are looking for an API to work with NIFTI images, I recommend FSL<br>
>>> (open-source) <a href="http://fsl.fmrib.ox.ac.uk/" target="_blank">http://fsl.fmrib.ox.ac.uk/</a> and their volume class<br>
>>> (libnewimage.a), but note that the license does not permit you to use<br>
>>> this<br>
>>> in commercial product.<br>
>>> HTH,<br>
>>> Miro<br>
>>><br>
>>><br>
>>><br>
>>> On 02/03/2014 12:49 PM, Sam Raby wrote:<br>
>>><br>
>>> Hello,<br>
>>><br>
>>><br>
>>><br>
>>> I am reading a series of DICOM image in C++, and would like to save it as<br>
>>> a<br>
>>> NIFITI file. Would you let me know how I can do that?<br>
>>><br>
>>><br>
>>><br>
>>> Thanks<br>
>>> -S<br>
><br>
><br>
</div></div>> _______________________________________________<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 VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<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 <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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</font></span></blockquote></div><br></div>