Skip to content

dcm2niix -m default #3533

Open
Open
@lamaresh

Description

@lamaresh

the default value for -m argument in dcm2niix is 2 and possible values are 0,1,2,y,n where 0=, 1=y and 2 is described as auto and is an intermediate behaviour so images are not split only on the base of series instance UID (https://github.com/rordenlab/dcm2niix/blob/master/console/main_console.cpp)

in nipype the corresponding merge_imgs input trait is a boolean. I think it should be update to an Enum to maintain the same behaviour of the command line program, something like this for Dcm2niixInputSpec:

merge_imgs = traits.Enum(
        "2",
        "1",
        "0",
        argstr="-m %s",
        usedefault=True,
        desc="merge 2D slices from same series regardless of echo, exposure, etc. - [0=no, 1=yes, 2=auto]")

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