Hi all,<div><br></div><div>I&#39;m trying to load a 62 component vector image with itk using the Python wrapping. I executed this:</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

1: import itk<br>2: r = itk.ImageFileReader.VIUS3.New( FileName=&#39;DTI.nii.gz&#39; )<br>3: im = r.GetOutput()<br>4: im.SetVectorLength(62)<br>5: w = itk.ImageFileWriter.VIUS3.New( im, FileName=&#39;test.nii.gz&#39; )<br>

6: w.Update()</blockquote><div><br></div><div>I also tried with im.SetNumberOfPixelCompoents( 62 )</div><div><br></div><div> But test.nii.gz only contains 1 component (and, I think it is written as if it were a 62-component file).</div>

<div><br></div><div>How should I configure the FileReader to get the 62 components?</div><div>How should I add new components?</div><div><br></div><div>thanks. Best Regards,</div><div><br></div><div>Oscar Esteban</div><div>

<br></div><div><br></div><div><div><div><b>______________________________________</b></div><div><b>Oscar Esteban</b></div><div>PhD Student / Researcher</div><div>Biomedical Image Technologies (Universidad Politécnica de Madrid)</div>

<div>
<br></div><div><font color="#999999">ETSI Telecomunicación (Lab. C203)</font></div><div><font color="#999999">Av. Complutense s/n - E-28040 Madrid (Spain)</font></div><div><span style="color:rgb(153, 153, 153)">+34 915 495 700 ext.4234</span></div>


<div><font color="#999999">+34 659 639 123</font></div></div><br>
</div></div>