Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Header[VOXEL_TO_WORLD] never used in Tck format #39

Open
jchoude opened this issue Jan 25, 2016 · 0 comments
Open

Header[VOXEL_TO_WORLD] never used in Tck format #39

jchoude opened this issue Jan 25, 2016 · 0 comments

Comments

@jchoude
Copy link
Contributor

jchoude commented Jan 25, 2016

If you use something similar to

hdr = tc.formats.header.get_header_from_anat(ref_filename)
out_tracts = tracts_format.create(output_filename, hdr)

where ref_filename is the name of the reference Nifti image, and you do NOT specify the reference anatomy in the create() call, an identity transform is applied when saving the streamlines.

Intuitively, we would expect the header created from the reference nifti to have some kind of effect.

I know that this is not currently actively developed, just wanted to flag it.

Workaround: always specify the anatFile param for the create call.

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

No branches or pull requests

1 participant