Skip to content

Corrupted nifti image loading if same filename is used with different extensions in the same folder #2243

Description

@lassoan

Description

NIFTI images are loaded with corrupted image data if loading something.nii.gz and there is another file with the same filename with .nii extension.

See original bug report of a user at Slicer/Slicer#5378

Steps to Reproduce

Versions

ITK-5.1
(reproducible in various versions of Slicer, MITK, ITK-Snap, etc.)

Environment

Windows, Linux

Additional Information

It is just so frustrating that there are so many troubles with nifti images and people often keep using it (it only makes sense for neuroimaging but probably they should give up as well and move to a new, simpler and better format).

Metadata

Metadata

Assignees

Labels

type:BugInconsistencies or issues which will cause an incorrect result under some or all circumstances

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions