subhashis / fibernavigator

Automatically exported from code.google.com/p/fibernavigator
0 stars 1 forks source link

Anatomy flipping does not work on specific nifti files #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load the provided T1 file.
2. Try to flip the anatomy along any axis.

No flipping occurs, when it should be flipped.

The cause is that, for an unknown reason, the nifti file is encoded as a pure 
3D data file. The number of bands data is not set, and therefore is set to 0 by 
default by the nifti library. This causes the indexing loop to fail.

Suggested fix: when the m_bands member is set to 0, fix it to 1 (anyway, this 
is logical).

Original issue reported on code.google.com by Jean.Chr...@gmail.com on 18 Oct 2011 at 7:48

GoogleCodeExporter commented 9 years ago
Cannot attach file, please see JC Houde.

Original comment by Jean.Chr...@gmail.com on 18 Oct 2011 at 7:55

GoogleCodeExporter commented 9 years ago
Related to Issue #41.

Original comment by Jean.Chr...@gmail.com on 18 Oct 2011 at 7:58