<div class="gmail_quote">On Mon, Feb 21, 2011 at 2:01 PM, alba garin <span dir="ltr">&lt;<a href="mailto:albagarin1986@hotmail.com">albagarin1986@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<br><div>Hello,</div><div><br></div><div>I tried to use the code of the example of gtract and it happened the same, it takes correctly the gradients but when applying the filter, DiffusionTensor3DReconstructionImageFilter, it did not create the tensor correctly. I checked that because i read the positions of the tensor and everything i get is 0.00000 and it happened the same after computing the eigenvalues and eigenvectors of the tensor. </div>
<div>I already have taken a look in the software guide, examples of itk, and every single example that appears on the internet. </div></div></blockquote><div><br>Alba: <br><br>To restate, did you look at this specific example, I post below. The class is tested you know at itkDiffusionTensor3DReconstructionImageFilterTest :<br>
<br><br><br>Also take a look at the examples and tests I placed in the repository: <br>
<br>   Examples/Filtering/DiffusionTensor3DReconstructionImageFilter.cxx<br><div id=":1xg"><br><br>As the example mentions:<br><br>// The easiest way to get started is to try out the filter on a sample dataset.<br>// <br>
// Acquiring sample datasets:<br>
//  1. Get the DWI datasets from <br>  <a href="http://public.kitware.com/pub/itk/Data/DTI/RawData/dwi.nhdr" target="_blank">http://public.kitware.com/pub/itk/Data/DTI/RawData/dwi.nhdr</a><br>
  <a href="http://public.kitware.com/pub/itk/Data/DTI/RawData/dwi.img.gz" target="_blank">http://public.kitware.com/pub/itk/Data/DTI/RawData/dwi.img.gz</a><br>
//     These datasets contain a reference T1 image and 30 diffusion weighted<br>//     images. See the nrrd header for details such as B value etc..<br>//<br>//  2. Run the example with the following args<br>//       dwi.nhdr 80 Tensors.mhd FractionalAnisotropy.mhd RelativeAnisotropy.mhd 1<br>

//  <br>//  3. You should find 30 gradient images, 1 reference image, the FA and RA images<br>//     in your working directory, which you can fire up in your favourite volume<br>//     browser.<br></div><br>The reconstructed images shoudl match what&#39;s uploaded at :<br>
  <a href="http://public.kitware.com/pub/itk/Data/DTI/Reconstructed/" target="_blank">http://public.kitware.com/pub/itk/Data/DTI/Reconstructed/</a><br><br><br>Are you saying that if you run this example on this data, you do not get the output uploaded above ?<br>
<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div>thanks for your help,</div><div><br><div class="hm">
<p align="center"><font color="#000000"><img src="https://mail.google.com/a/kitware.com/?ui=2&amp;view=js&amp;name=main,tlist&amp;ver=P15uPipZD3o.en.&amp;am=%21TucS1utU_i76BfdhIfd2IITAZQsDEhTQifcYRzv0ZdLsE-hQjRSh8ffFIQ&amp;fri" vspace="9" width="100%" height="2"></font></p>
</div></div><div class="hm"><br><br><br><br><hr>From: <a href="mailto:albagarin1986@hotmail.com" target="_blank">albagarin1986@hotmail.com</a><br>To: <a href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu</a>; <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a><br>
Date: Thu, 17 Feb 2011 08:16:27 +0000</div><div><div></div><div class="h5"><br>Subject: Re: [Insight-users] DiffusionTensor3DReconstructionFilter<br><br>






<font face="Tahoma" size="2">Thanks, i am taking a look to it at the moment.</font><div><font face="Tahoma" size="2"><br></font><div><font face="Tahoma" size="2"><br></font><div>
<p style="font-family: Tahoma; font-size: 10pt;" align="center"><font color="#000000"><img src="https://mail.google.com/a/kitware.com/?ui=2&amp;view=js&amp;name=main,tlist&amp;ver=P15uPipZD3o.en.&amp;am=%21TucS1utU_i76BfdhIfd2IITAZQsDEhTQifcYRzv0ZdLsE-hQjRSh8ffFIQ&amp;fri" vspace="9" width="100%" height="2"></font></p>
</div><br><br><br><br><div style="font-family: Tahoma; font-size: 10pt;"></div><hr style="font-family: Tahoma; font-size: 10pt;"><font face="Tahoma" size="2">From: <a href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu</a></font><br>
<font face="Tahoma" size="2">To: <a href="mailto:albagarin1986@hotmail.com" target="_blank">albagarin1986@hotmail.com</a>; <a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a></font><br><font face="Tahoma" size="2">Subject: Re: [Insight-users]  DiffusionTensor3DReconstructionFilter</font><br>
<font face="Tahoma" size="2">Date: Wed, 16 Feb 2011 18:27:25 +0000</font><br><br>






<div style="font-family: Tahoma; font-size: 10pt;">
<div>
<div>Here is a link to a program that we write that uses the filter. We use NRRD files as input to this program.</div>
<div><br>
</div>
<div><a href="http://www.nitrc.org/plugins/scmsvn/viewcvs.php/GTRACT/Cmdline/gtractTensor.cxx?root=vmagnotta&amp;view=markup" target="_blank">http://www.nitrc.org/plugins/scmsvn/viewcvs.php/GTRACT/Cmdline/gtractTensor.cxx?root=vmagnotta&amp;view=markup</a></div>

<div><br>
</div>
<div>Vince</div>
<div><br>
</div>
<div>
<div>
<div>-- </div>
<div><font face="Calibri,Verdana,Helvetica,Arial"><span style="font-size: 11pt;">Associate Professor<br>
Department of Radiology<br>
0453-D JCP<br>
200 Hawkins Drive<br>
Iowa City, IA 52242<br>
E-mail: <a href="mailto:vincent-magnotta@uiowa.edu" target="_blank">vincent-magnotta@uiowa.edu</a><br>
Phone: 319-356-8255 Fax: 319-353-6275<br>
Website: <a href="http://www.healthcare.uiowa.edu/Radiology" target="_blank">http://www.healthcare.uiowa.edu/Radiology</a></span></font></div>
</div>
</div>
</div>
</div>
<div style="font-family: Tahoma; font-size: 10pt;"><br>
</div>
<span style="font-family: Tahoma; font-size: 10pt;">
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in; font-family: Calibri; font-size: 11pt; text-align: left; color: black;">

<span style="font-weight: bold;">From: </span>alba garin &lt;<a href="mailto:albagarin1986@hotmail.com" target="_blank">albagarin1986@hotmail.com</a>&gt;<br>
<span style="font-weight: bold;">Date: </span>Wed, 16 Feb 2011 08:15:47 +0000<br>
<span style="font-weight: bold;">To: </span>&lt;<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>&gt;<br>
<span style="font-weight: bold;">Subject: </span>[Insight-users] DiffusionTensor3DReconstructionFilter<br>
</div>
<div><br>
</div>
<div>
<div>Hi everyone,
<div><br>
</div>
<div>im getting mad trying to use the DiffusionTensor3DReconstructionFilter with a nrrd diffusion file. I store properly the gradients and after using the filter I get a image with pixels of DiffusionTensor3D. the problem is that this image has as voxels only
 zeros...</div>
<div>anyone can help me, please?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Alba<br>
<div> </div>
</div>
</div>
</div>
_____________________________________ Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> 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> Kitware offers ITK Training Courses, for more information visit:
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a> Please keep messages on-topic and check the ITK FAQ at:
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a> Follow this link to subscribe/unsubscribe:
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a>
</span><br>
<br>
<hr style="font-family: Tahoma; font-size: 10pt;"><font face="Tahoma" size="2">
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any
 retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
</font><hr style="font-family: Tahoma; font-size: 10pt;"></div></div>                                               
<br>_____________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>

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>

Kitware offers ITK Training Courses, for more information visit:
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a>

Please keep messages on-topic and check the ITK FAQ at:
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a>                                               </div></div></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>