Simone  
                
                  
                    November 11, 2021, 10:07am
                   
                  1 
               
             
            
              Hi Everyone,
Thanks in advance, any help would be appreciated.
             
            
              
            
           
          
            
              
                Forrest  
              
                  
                    November 11, 2021,  3:11pm
                   
                  2 
               
             
            
              Hi, you can use itk.js  to read in the DICOM into vtk.js. Check out the itk.js documentation to get more info on what you want to achieve.
             
            
              1 Like 
            
            
           
          
            
              
                Simone  
              
                  
                    November 12, 2021, 10:20am
                   
                  3 
               
             
            
              Thank you!
             
            
              
            
           
          
            
              
                pieper  
                
                  
                    November 12, 2021,  3:06pm
                   
                  4 
               
             
            
              You could have a look at this project:
  
  
    
  Proof of concept DICOM decompress and anonymize in browser, writing new P10 file - GitHub - jmhmd/dicom-browser-anonymize: Proof of concept DICOM decompress and anonymize in browser, writing new P1...
   
  
    
    
  
  
 
             
            
              1 Like 
            
            
           
          
            
              
                rajajms  
              
                  
                    July 19, 2023, 11:41am
                   
                  5 
               
             
            
              Though your question is different, but if you want to load and perse dicom images
async function handleFile(event) {
    const files = event.target.files;
    const { image, webWorker } = await window.itk.readImageDICOMFileSeries(files, false);
    webWorker.terminate();
    const vtkImage = vtkITKHelper.convertItkToVtkImage(image);
}
const dicomFileInput = document.getElementById('dicomFileInput');
dicomFileInput.addEventListener('change', handleFile);
make sure to import ITKHelper as below and also itk-wasmimport vtkITKHelper from '@kitware/vtk.js/Common/DataModel/ITKHelper';