Skip to content

ecc_pipeline discrepency in intensities #1787

Closed
@salma1601

Description

@salma1601

Summary

ecc_pipeline change intensity range for non B0 scans

Actual behavior

I have a raw diffusion image with B0 scan intensities around 1000 and other scans around 200.
After the ecc_pipeline, the B0 scan intensities have the same range while the other scans are between 0 and 1

Expected behavior

I expected the range of the scans to remain comparable to the raw image

How to replicate the behavior

from nipype.workflows.dmri.fsl.artifacts import ecc_pipeline 
ecc = ecc_pipeline()
ecc.inputs.input_node.in_file = '4d_dwi.nii.gz'
ecc.inputs.input_node.in_bval = 'bval'
ecc.inputs.input_node.in_mask = 'brain_mask.nii.gz'
ecc.run()

Platform details:

{'nibabel_version': '2.1.0', 'networkx_version': '1.11', 'numpy_version': '1.12.0', 'sys_platform': 'linux2', 'sys_version': '2.7.12 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:42:40) \n[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]', 'commit_source': 'installation', 'commit_hash': u'a4d1e07', 'pkg_path': '/home/salma/anaconda2/lib/python2.7/site-packages/nipype', 'sys_executable': '/home/salma/anaconda2/bin/python', 'traits_version': '4.6.0', 'scipy_version': '0.18.1'}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions