Hi Chetan,
You also can use SPM - ImCalc to convert .MNC images to
.img. You must select the .MNC image and then write i1 in
the "Evaluated Function" field.
Regards,
Gracián.
>On 3/12/06, Discussion List.?Body=Join Spm Fuad Gwadry <[log in to unmask]>
>wrote:
>
> Chetan,
>
> The script below should do the trick. Calls spm_mnc2nifiti in SPM5.
>
> Hope this helps,
>
> Regards,
>
> Fuad
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> % minc2nifti.m
> % MINC to ANALYZE conversion
> % convert a MINC file to an ANALYZE file (.hdr and .img pair)
> % Note: the .hdr and .img files will be written in current directory
> % January 25, 2006
> [filename, pathname, filterindex] = uigetfile( ...
> { '*.mnc','minc-files (*.mnc)'; ...
> '*.*', 'All Files (*.*)'}, ...
> 'Pick a file', ...
> 'MultiSelect', 'on');
>
> for i = 1:length(filename)
> spm_mnc2nifti([pathname char(filename(i))]);
> end
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> On Sun, 12 Mar 2006 08:12:04 -0800, Chetan Bhole <[log in to unmask]>
> wrote:
>
> >Hi,
> >
> >I was wondering if anyone knew how to convert the .MNC template files in
> >spm2 to .img analyze format files.
> >I tried using imcalc giving input as the .mnc and output as the .img but
> the
> >results are not correct.
> >Also Xmedcon does not support .mnc format conversion.
> >
> >Any hints?
> >
> >
> >Thanks and Regards,
> >Chetan
> >
>
--
________________________________________________________
Gracián García Martí --------- [log in to unmask]
[IBM - Biomedical Imaging Area]
BET - Bioengineering, Electronics and Telemedicine Group
UPV - Politechnical University of Valencia - Spain
________________________________________________________
[IBM - Área de Imagen Biomédica]
BET - Grupo de Bioingeniería, Electrónica y Telemedicina
UPV - Universidad Politécnica de Valencia
________________________________________________________
Tlf:+34 96 387 00 00 Ext:75275 http://www.itaca.upv.es
________________________________________________________
|