[MINC-users] mnc2nii conversion problem
Wolfgang Bogner
Wolfgang.Bogner at gmx.net
Sun Oct 28 11:32:36 EDT 2007
Hello,
I have some 3D minc images and want to work with them in matlab. Therefore i thought i could use mnc2nii first and then read the resulting files with "load_nii"-command and write back the result to a different *.nii file and convert them back to mnc.
Unfortunately i cannot make mnc2nii conversion work properly.
For a test i simply tried to convert a single pixel using mnc2nii and then back with nii2mnc.
syntax:
rm comp_image.nii comp_image_back.mnc ;mnc2nii -short comp_image.mnc comp_image.nii; nii2mnc comp_image.nii comp_image_back.mnc; register comp_image_back.mnc comp_image.mnc &
--> the result: before conversion values (before -> after) are 654 -> 672 in one point. If i take a different points its for example 232 -> 116 and so on. There is no real pattern but if one looks at the images with register both seems to be "quite" similar.
Any suggestions what i did wrong?
Thanks a lot!!!
Wolfgang
P.S.: I tried to install minc 2.0.13 and 2.0.14 with the following error when i type "make" after ./configure
Xan:/home/bow/Desktop/MINC_binaries/minc-2.0.14 # make
make all-recursive
make[1]: Entering directory `/home/bow/Desktop/MINC_binaries/minc-2.0.14'
Making all in .
make[2]: Entering directory `/home/bow/Desktop/MINC_binaries/minc-2.0.14'
depbase=`echo conversion/nifti1/mnc2nii.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./libsrc -I./volume_io/Include -I./volume_io/Include -I./progs/Proglib -I./conversion/Acr_nema -g -O2 -MT conversion/nifti1/mnc2nii.o -MD -MP -MF $depbase.Tpo -c -o conversion/nifti1/mnc2nii.o conversion/nifti1/mnc2nii.c &&\
mv -f $depbase.Tpo $depbase.Po
conversion/nifti1/mnc2nii.c:1:19: error: minc2.h: No such file or directory
make[2]: *** [conversion/nifti1/mnc2nii.o] Error 1
make[2]: Leaving directory `/home/bow/Desktop/MINC_binaries/minc-2.0.14'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bow/Desktop/MINC_binaries/minc-2.0.14'
make: *** [all] Error 2
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
More information about the MINC-users
mailing list