Skip to content

WIP: Change tensor / vector treatment in antsApplyTransforms#678

Merged
cookpa merged 1 commit intomasterfrom
tensorVectorOrient
Dec 11, 2018
Merged

WIP: Change tensor / vector treatment in antsApplyTransforms#678
cookpa merged 1 commit intomasterfrom
tensorVectorOrient

Conversation

@cookpa
Copy link
Member

@cookpa cookpa commented Dec 10, 2018

Now assume that tensor is based in the moving voxel space, and reorient
to the fixed voxel space before resampling. Same with vectors.

This fixes a bug where the tensors and vectors were transformed in the opposite direction.
RebaseTensorImage had the same error but only when the REFERENCE option was used.

Relates to issue: #642

Test data and scripts: https://github.com/cookpa/antsDTOrientationTests

Now assume that tensor is based in the moving voxel space, and reorient
to the fixed voxel space before resampling. Same with vectors.

This fixes a bug where the tensors were transformed in the opposite direction.
RebaseTensorImage had the same error but only when the REFERENCE option was used.

To do:

 - More tests. There's new oblique Prisma data on the dcm2niix page
@cookpa cookpa merged commit 2703896 into master Dec 11, 2018
@cookpa cookpa deleted the tensorVectorOrient branch December 11, 2018 19:30
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

Successfully merging this pull request may close these issues.

1 participant