<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:'Times New Roman', Times, serif;" dir="ltr">
<p>Hello Francois,</p>
<p><br>
</p>
<p>Thank you for your prompt answer.</p>
<p>I will glad if you could recommend me some ways <font><font class="">for NIFTI image loading.</font></font></p>
<p><br>
</p>
<p>Best regards,</p>
<p><br>
</p>
<div id="Signature"><font size="3" face="Garamond"><font><font>Abdelkhalek Bakkari</font></font></font>
<div><span style="line-height:14px"><font size="3" face="Garamond"><font><font>Ph.D candidate in Computer Science</font></font></font></span></div>
<div><span style="line-height:20.82666778564453px; background-color:rgb(255,255,255)"><font face="Garamond" size="3"><font><font>Institute of Applied Computer Science</font></font></font></span></div>
<div><span style="line-height:18.399999618530273px"><font face="Garamond" size="3"><font><font>Lodz University of Technology, Poland</font></font></font></span></div>
<div><span style="line-height:18.399999618530273px"><font face="Garamond" size="3"><br>
</font></span></div>
<div><br>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Francois Budin <francois.budin@kitware.com><br>
<b>Sent:</b> 07 March 2017 15:46<br>
<b>To:</b> Abdelkhalek Bakkari<br>
<b>Cc:</b> insight-users<br>
<b>Subject:</b> Re: [ITK-users] Loading and reading NIFTI images</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div><font><font>Hello Abdelkhalek,</font></font><br>
<br>
</div>
<font><font>Using the itkImageFileReader filter should allow you to open any format that ITK support, including NIFTI, thanks to the factory mechanism in ITK.</font></font><br>
</div>
<font><font>You can find an example here [1].</font></font><br>
<br>
</div>
<font><font>Hope this helps,</font></font><br>
</div>
Francois<br>
<br>
[1] <a href="https://itk.org/ITKExamples/src/IO/ImageBase/ReadAnImage/Documentation.html" id="LPlnk251279" previewremoved="true">
https://itk.org/ITKExamples/src/IO/ImageBase/ReadAnImage/Documentation.html</a>
<div id="LPBorder_GT_14888984881020.1100620568872166" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14888984880940.5652109024897034" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14888984880970.7082545260804105" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14888984880980.8044747309152134"></div>
<div id="LPTitle_14888984880980.4588337108498235" style="top: 0px; color: rgb(0, 120, 215); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14888984880990.576192386005445" href="https://itk.org/ITKExamples/src/IO/ImageBase/ReadAnImage/Documentation.html" target="_blank" style="text-decoration: none;">Read An Image — v4.12.0 - ITK</a></div>
<div id="LPMetadata_14888984880990.40231342877825793" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
itk.org</div>
<div id="LPDescription_14888984881000.9903274981456252" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Synopsis¶ This examples demonstrates how to read an image file into an itk::Image. The file type is determined by the extension of the specified filename.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Mar 7, 2017 at 9:31 AM, Abdelkhalek Bakkari <span dir="ltr">
<<a href="mailto:bakkari.abdelkhalek@hotmail.fr" target="_blank">bakkari.abdelkhalek@hotmail.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="m_960144311758058052divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:'Times New Roman',Times,serif">
<p><font><font>Dear Insight users,</font></font></p>
<p><br>
</p>
<p><font><font><font><font>I trying to use ITK and Qt to load nifti image. Could you help me please ?</font></font></font></font></p>
<p><font><font><br>
</font></font></p>
<p><font><font><font><font>Thank you in advance.</font></font></font></font></p>
<p><font><font><br>
</font></font></p>
<p><font><font><font><font><font><font>Best regards,</font></font></font></font></font></font></p>
<p><br>
</p>
<div id="m_960144311758058052Signature"><font size="3" face="Garamond"><font><font><font><font>Abdelkhalek Bakkari</font></font></font></font></font>
<div><span style="line-height:14px"><font size="3" face="Garamond"><font><font>Ph.D candidate in Computer Science</font></font></font></span></div>
<div><span style="line-height:20.82666778564453px; background-color:rgb(255,255,255)"><font size="3" face="Garamond"><font><font>Institute of Applied Computer Science</font></font></font></span></div>
<div><span style="line-height:18.399999618530273px"><font size="3" face="Garamond"><font><font>Lodz University of Technology, Poland</font></font></font></span></div>
<div><span style="line-height:18.399999618530273px"><font size="3" face="Garamond"><br>
</font></span></div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<font><font>______________________________</font></font><wbr><font><font>_______</font></font><br>
<font><font>Powered by </font></font><a href="http://www.kitware.com" rel="noreferrer" target="_blank"><font><font>www.kitware.com</font></font></a><br>
<br>
<font><font>Visit other Kitware open-source projects at</font></font><br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank"><font><font>http://www.kitware.com/</font></font><wbr><font><font>opensource/opensource.html</font></font></a><br>
<br>
<font><font>Kitware offers ITK Training Courses, for more information visit:</font></font><br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank"><font><font>http://www.kitware.com/</font></font><wbr><font><font>products/protraining.php</font></font></a><br>
<br>
<font><font>Please keep messages on-topic and check the ITK FAQ at:</font></font><br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank"><font><font>http://www.itk.org/Wiki/ITK_</font></font><wbr><font><font>FAQ</font></font></a><br>
<br>
<font><font>Follow this link to subscribe/unsubscribe:</font></font><br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank"><font><font>http://public.kitware.com/</font></font><wbr><font><font>mailman/listinfo/insight-users</font></font></a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>