Codebase list ciftilib / 248f4bc
fix quaternion handling in nifti headers when voxels are not isotropic Tim Coalson 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
219219 {
220220 for (int j = 0; j < 3; ++j)
221221 {
222 rotmat[i][j] *= m_header.pixdim[i + 1];
222 rotmat[i][j] *= m_header.pixdim[j + 1];
223223 }
224224 }
225225 if (m_header.pixdim[0] < 0.0f)//left handed coordinate system, flip the kvec