We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 185203f commit 7023720Copy full SHA for 7023720
Anima/diffusion/odf/tod_estimator/animaTODEstimatorImageFilter.hxx
@@ -84,6 +84,14 @@ namespace anima
84
for (int i = 0; i < nbPoints; i++)
85
{
86
DirType dir = GetFiberDirection(i, fiber);
87
+ if(output->GetDirection()[0][0] > 0)
88
+ dir[0] *= -1;
89
+ if(output->GetDirection()[1][1] < 0)
90
+ dir[1] *= -1;
91
+ if(output->GetDirection()[2][2] < 0)
92
+ dir[2] *= -1;
93
+
94
95
PointType point = GetCenterVoxel(i, fiber);
96
itk::Index<3> index;
97
0 commit comments