<div>Hi Ali, </div><div><br></div><div>ITK Examples webpage is a good location to find </div><div>quick demonstrations for these. </div><div><br></div><div>The writer part of the following example</div><div><a href="http://www.vtk.org/Wiki/ITK/Examples/IO/TIFFImageIO">http://www.vtk.org/Wiki/ITK/Examples/IO/TIFFImageIO</a></div>
<div><br></div><div>and the reader part of the following example</div><a href="http://www.vtk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM">http://www.vtk.org/Wiki/ITK/Examples/DICOM/ResampleDICOM</a><br><br>demonstrates the use of ImageIO classes for TIFF and DICOM<div>
files. I believe reading/writing NIFTI images will have a very </div><div>similar usage, instantiate NIFTIImageIO and SetImageIO for </div><div>the reader/writer. </div><div><br></div><div>Regards, </div><div>Cagatay<br><div>
<br><br><div class="gmail_quote">On Mon, Jan 16, 2012 at 10:14 AM, Ali Mouizina <span dir="ltr"><<a href="mailto:ali.mouizina@gmail.com">ali.mouizina@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I'm a newbie in ITK and I'm looking for a basic example to read
NIFTI images unsuccessfully. I found this class <a href="http://www.itk.org/Doxygen/html/classitk_1_1NiftiImageIO.html" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1NiftiImageIO.html</a>
, but I don't see how could I use it. I read the documentation of
ITK about how to read images and I don't see at which moment Isould
invoke methods from<span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none"> <</span><a href="http://www.itk.org/Doxygen/html/itkNiftiImageIO_8h_source.html" style="color:rgb(70,101,162);font-weight:bold;text-decoration:none;font-family:monospace;font-size:12px;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)" target="_blank">itkNiftiImageIO.h</a><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">></span> . Can
anyone help me ? <br>
<br>
Regards,<br><font color="#888888">
<br>
Ali <span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none"></span><span style="color:rgb(0,0,0);font-family:monospace;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none"><br>
</span> <br>
</font></div>
<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>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.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></blockquote></div><br></div></div>