Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
VTK
VTK
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 581
    • Issues 581
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 162
    • Merge Requests 162
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Merge Requests
  • !181

Merged
Opened May 06, 2015 by David Gobbi@dgobbiDeveloper

Fix nifti sform, qform when qfac=-1.

  • Overview 14
  • Commits 1
  • Changes

When the "QFac" field in the nifti header (which indicates slice ordering) was equal to -1, the vtkNIFTIImageReader would incorrectly set the offset in the SFormMatrix. And calling SetQFac(-1) on the vtkNIFTIImageWriter caused incorrect offsets to be stored in both the qform and sform of the written file. Thanks to Matthew Brown for reporting this error in the code.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: vtk/vtk!181
Source branch: nifti-qfac