vtkDICOMCTGenerator in vtkjs?

Hello,

I have 2 vtkjs image data objects: a CT scan, and a corresponding segmentation labelmap. I’m trying to take these two objects and write them to a DICOM file.

I was looking through vtk’s API and saw that there is a vtkDICOMCTGenerator method, found here: vtk-dicom: vtkDICOMCTGenerator Class Reference.

Does anything like this exist for vtkjs?

I would also be okay with having a way to append my vtk labelmap obj to a pre-existing CT Dicom file.

There currently is no vtkDICOMCTGenerator for vtk.js. You will have to use a different dicom library for doing that for now.