Hi Nyoman,<div><br></div><div>I'm guessing you're talking about converting into the RGB format supported by NIfTI. Unfortunately there is no support for that in MRtrix. The best you could do currently would be to export each RGB channel separately, using a command such as this:</div>
<div><br></div><div>$ mrconvert dec-tdi.mif dec-tdi-[].nii</div><div><br></div><div>The empty square brackets will tell MRtrix to split up the last dimension of the image into separate files, so that should give you dec-tdi-0.nii, dec-tdi-1.nii and dec-tdi-2.nii, corresponding to red, green and blue respectively.</div>
<div><br></div><div>I have no idea if that is useful to you, since I'm guessing you would still need to recombine these channels into a single RGB NIfTI image. Hopefully there is something in the NIfTI tools that can do that, but I've never looked into it myself... </div>
<div><br></div><div>If you do manage to get it done, it would be great if you could report how you did it here, it might be helpful to other users too.</div><div><br></div><div>Cheers,</div><div><br></div><div>Donald.</div>
<div><br></div><div><br></div><div><br><div class="gmail_quote">On 1 June 2011 16:43, Nyoman Kurniawan <span dir="ltr"><<a href="mailto:nyoman.kurniawan@cai.uq.edu.au">nyoman.kurniawan@cai.uq.edu.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif"><div>Dear Donald & Fernando,</div>
<div>Could you tell me how to use mrconvert to convert the colour TDI-DEC into the nii format?</div><div>I could only convert it into a grey scale nii.</div><div><br></div><div>Thank you.</div><div><br></div><div>Regards,</div>
<div>Nyoman</div><div><br></div></div>
<br>_______________________________________________<br>
Mrtrix-discussion mailing list<br>
<a href="mailto:Mrtrix-discussion@www.nitrc.org">Mrtrix-discussion@www.nitrc.org</a><br>
<a href="http://www.nitrc.org/mailman/listinfo/mrtrix-discussion" target="_blank">http://www.nitrc.org/mailman/listinfo/mrtrix-discussion</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jacques-Donald Tournier (PhD)<br>Brain Research Institute, Melbourne, Australia<br>Tel: +61 (0)3 9035 7033<br>
</div>