Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xfminvert doesn't preserve dimorder #55

Open
bcdarwin opened this issue Sep 29, 2016 · 3 comments
Open

xfminvert doesn't preserve dimorder #55

bcdarwin opened this issue Sep 29, 2016 · 3 comments

Comments

@bcdarwin
Copy link

Probably belongs as a libminc issue, but:

$ cat whatever.xfm 
MNI Transform File
Transform_Type = Grid_Transform;
Displacement_Volume = whatever_grid_0.mnc;
Transform_Type = Linear;
Linear_Transform =
1 0 0 0
0 1 0 0
0 0 1 0;
$ mincinfo whatever_grid_0.mnc 
file: whatever_grid_0.mnc
image: signed__ float -0.24282121658325195312 to 0.45105218887329101562
image dimensions: vector_dimension xspace yspace zspace
    dimension name         length         step        start
    --------------         ------         ----        -----
    vector_dimension            3      unknown      unknown
    xspace                     29        0.448        -6.27
    yspace                     43        0.448        -8.19
    zspace                     22        0.448         -4.2
$ xfminvert whatever.xfm whatever_inverted.xfm
$ mincinfo whatever_inverted_grid_0.mnc 
file: whatever_inverted_grid_0.mnc
image: signed__ float -0.24282121658325195312 to 0.45105218887329101562
image dimensions: vector_dimension zspace yspace xspace
    dimension name         length         step        start
    --------------         ------         ----        -----
    vector_dimension            3      unknown      unknown
    zspace                     22        0.448         -4.2
    yspace                     43        0.448        -8.19
    xspace                     29        0.448        -6.27
@gdevenyi
Copy link

This is from minc-toolkit/1.9.11

@bcdarwin
Copy link
Author

Still an issue as of 2.4.02.

@rdvincent

@vfonov
Copy link
Member

vfonov commented Feb 15, 2018

i hear a rumour that @rdvincent is not going to be spending much time supporting MINC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants