🎉 Metadata Overhaul 3.7.8+ 🎉
In 3.7.8 PR #1481 revamped how we deal with metadata in OHIF. The main goal was to address these issues:
The upshot of this is now the following methods of using the application:
We now have a re-vamped metadata provider in
import OHIF from '@ohif/core' const metadataProvider = OHIF.cornerstone.metadataProvider;
With which data can be added via the following method
Where the payload is either:
The data is then indexed based on its Study, Series and SOPInstanceUIDs.
This provider is registered to cornerstone with a high priority, and data can then be retrieved by:
The queries you may give are:
JSON launch has had its schema changed, to contain naturalized DICOM JSON headers:
The format is the same as before, but note
Above shows the minimum data required to use all functionality in OHIF at the time of writing. However in the general sense, if you return a full naturalized DICOM JSON header in the
naturalized DICOM JSON as the source of truth
Throughout the app any DICOM keywords have been capitalized as they are in the standard, e.g.:
Naturalized DICOM JSON is DICOM JSON where the tag names are replaced with keywords, single values replaced with strings or numbers, multiple values replaced with arrays, and sequences replaced with arrays. I.e. human readable DICOM.
You can naturalize any DICOMJSON (e.g. a WADO-RS header for an instance) with
Which is probably the best way to look at the format at this time, by example. At this time
I believe that is all for now. Happy DICOM-ing!
The text was updated successfully, but these errors were encountered:
What is the correct JSON for loading multiframe images ?
Hii all, I recently started integrating OHIF viewer for displaying DICOM images with the JSON support. I observed that we need to change ROWS, COLUMNS properties in metadata object to render DICOM images perfectly without dis-alignment.
Is there any support to give ROWS, COLUMNS values like AUTO
Similar to pmd23, I can view standard DICOM images but not DICOM-RT using the JSON method as the following tags are missing:
Any suggestions? Thanks in advance for your help.