fix quaternion handling in nifti headers when voxels are not isotropic
Tim Coalson
5 years ago
219 | 219 |
{
|
220 | 220 |
for (int j = 0; j < 3; ++j)
|
221 | 221 |
{
|
222 | |
rotmat[i][j] *= m_header.pixdim[i + 1];
|
|
222 |
rotmat[i][j] *= m_header.pixdim[j + 1];
|
223 | 223 |
}
|
224 | 224 |
}
|
225 | 225 |
if (m_header.pixdim[0] < 0.0f)//left handed coordinate system, flip the kvec
|