Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,860
    • Issues 1,860
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 93
    • Merge requests 93
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #20172
Closed
Open
Created Sep 01, 2020 by Chris Rorden@neurolabusc

NRRD file support

Reposted from discourse:

The NRRD format specification requires that extra whitespace after the field descriptor and before the line termination is ignored. However, the function ParseVector vtkNrrdReader.cxx trims the input string, but does not ignore white space within a string.

Therefore, Paraview will parse the vectors:

space directions: (2.9356703758239746,0,0) (0,2.949852466583252,0) (0,0,2.9361956119537354)
space origin: (-75.762535095214844,-110.76253509521484,-71.762535095214844)

But fail to parse the vectors:

space directions: (2.9356703758239746, 0, 0) (0, 2.949852466583252, 0) (0, 0, 2.9361956119537354)
space origin: (-75.762535095214844, -110.76253509521484, -71.762535095214844)

The user is provided with no feedback regarding an error, but no image is displayed. Careful inspection of the image properties will reveal that the spatial "Bounds" all have a delta of zero (e.g. all voxels collapsed to single point).

Here is a small example illustrating this issue.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking