Skip to content

chafey/dicom-seg-to-sc

Repository files navigation

dicom-seg-to-sc

Tool to convert DICOM SEG to Secondary Capture

Pre-requisites

  • NodeJS (tested with v18.16.0 but recent versions should work)

Setup

$ npm install

Running

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

TODO

  • 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

About

Tool to convert DICOM SEG to Secondary Capture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published