feat(nifti): Integrate NIFTI volume loader #5637
Open
+154
−47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
NIfTI Loader Support
Overview:
The NIfTI Loader feature allows the OHIF Viewer to load NIfTI images directly if a specific DICOM private tag contains a NIfTI URL. This is especially useful for hybrid datasets or research workflows.
How It Works
niftiPrivateTagNameattribute to your data source configuration.Example Configuration
{ "namespace": "@ohif/extension-default.dataSourcesModule.dicomweb", "sourceName": "jls", "configuration": { "friendlyName": "JLS Static WADO Server", "name": "jls", "wadoUriRoot": "http://localhost:5001/dicomweb", "qidoRoot": "http://localhost:5001/dicomweb", "wadoRoot": "http://localhost:5001/dicomweb", "niftiPrivateTagName": "00090010" } }Key Option Explained:
niftiPrivateTagName:The DICOM private tag (in group/element format, e.g.,
"00090010") where the NIfTI URL is stored.Behavior:
If a DICOM instance contains this private tag, the viewer will use the URL from the tag to load the NIfTI file, bypassing standard DICOMweb image retrieval.
Summary
Use
imageRetrieveOptionsto customize how frames/volumes are retrieved from your DICOMweb server, including progressive loading and custom frame paths.Use
niftiPrivateTagNameto enable direct loading of NIfTI files via a DICOM private tag.Changes & Results
Testing
Checklist
PR
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Tested Environment