[MINC-users] different image origin

Kuan H. Kho minc-users@bic.mni.mcgill.ca
Thu Jun 16 07:23:04 2005


Hi Oliver,
I don't use ecattominc, but if you simply want to change the origin 
of both images you could use
minc_modify_header
and change the startposition of each space.

Best,
Kuan

---
Kuan H. Kho, MD

Depts. of Psychiatry & Neurosurgery, G03.124
University Medical Center Utrecht
Heidelberglaan 100
P.O.Box 85500
3508 GA Utrecht
The Netherlands

P +31-30-2507969/2507953
F +31-30-2542100
E k.h.kho_'at'_azu.nl




>Hello all,
>
>i have a problem with the tool "ecattominc".
>There are no problems at the conversion step but when i want to 
>realign using register i can't see the overlay image because of the 
>huge different in the  image origin.
>--> PET:
>>  mincinfo SC1CN022M1_42b_b45_5-avgTime.mnc
>file: SC1CN022M1_42b_b45_5-avgTime.mnc
>image: signed__ short -32768 to 32767
>image dimensions: zspace yspace xspace
>    dimension name         length         step        start
>    --------------         ------         ----        -----
>    zspace                     63       -2.425      -445.58
>    yspace                    128      2.00331      -127.21
>    xspace                    128      2.00331      -127.21
>
>--> MRT:
>>  mincinfo 7945_20050127_130638_2_mri.mnc
>file: 7945_20050127_130638_2_mri.mnc
>image: unsigned short 0 to 4095
>image dimensions: xspace zspace yspace
>    dimension name         length         step        start
>    --------------         ------         ----        -----
>    xspace                    160            1     -85.8789
>    zspace                    256           -1      120.659
>    yspace                    256           -1      154.073
>
>How can i reshape the both images to the same origin (e.g. 0 0 0)?
>
>Thank you very much!
>
>Oliver