Skip to content

dwiextract -shell produces slightly distorted b-values and b-vectors #878

@ansk

Description

@ansk

Dear experts,

I have noticed that dwiextract -shell slightly distorts b-values and b-vectors.

My mrtrix version: 0.3.15-457-g80f4abf0

Example:

mrinfo -property dw_scheme example.mif.gz

(part of output):

-0.5629470545,-0.550515324,0.6164610616,2500
0.2583717165,-0.1301881376,0.9572334507,2500
-0.7518837812,0.6402583973,-0.1572920504,2500
-0.3277215687,0.8722226455,0.3630795368,2500
0,0,0,0

dwiextract -shell 0,2500 example.mif.gz example_2500.mif.gz

mrinfo -property dw_scheme example_2500.mif.gz

(part of output)

-0.5629468438,-0.5505151179,0.6164608309,2500.001871
0.2583716165,-0.1301880872,0.9572330802,2500.001935
-0.7518834711,0.6402581332,-0.1572919855,2500.002062
-0.3277214835,0.8722224187,0.3630794424,2500.0013
0,0,0,0

The difference is probably cosmetical, but maybe it deserves fix anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions