Tool to convert DICOM SEG to Secondary Capture
- NodeJS (tested with v18.16.0 but recent versions should work)
$ npm install
You must specify two command line paramaters - the first is the path to the DICOM P10 SEG file, the second is a directory to write the rasterized dicom files
$ node index.js test/fixtures/MonaiSEG.dcm dicomout
- Map CIELab values to RGB (colors are currently randomly generated)
- Add more validation logic
- Add support for displaying help and usage
- Verify that bit unpacking logic is correct in createSEGAccessor