Importing to Eclipse after DICOM export from CERR

108 views
Skip to first unread message

Dominic Rafferty

unread,
Oct 6, 2020, 7:07:17 AM10/6/20
to CERR FORUM
Hello,

Wondering if anyone knows a solution to this issue.

I am trying to export a DICOM from eclipse, modify in CERR, and reimport to Eclipse.

Eclipse complains because it recognises the UID tags. So I try to modify them:


   t = '.1';
   
   studyiuid = planC{indexS.scan}.scanInfo(1).studyInstanceUID;
    
   seriesiuid = planC{indexS.scan}.scanInfo(1).seriesInstanceUID;
    
   foriuid = planC{indexS.scan}.scanInfo(1).frameOfReferenceUID;

   sopiuid = planC{indexS.scan}.scanInfo(1).sopInstanceUID;

   sopcuid = planC{indexS.scan}.scanInfo(1).sopClassUID;
   
   ustudyiuid = planC{indexS.scan}.uniformScanInfo.studyInstanceUID;
    
   useriesiuid = planC{indexS.scan}.uniformScanInfo.seriesInstanceUID;
    
   uforiuid = planC{indexS.scan}.uniformScanInfo.frameOfReferenceUID;

   usopiuid = planC{indexS.scan}.uniformScanInfo.sopInstanceUID;

   usopcuid = planC{indexS.scan}.uniformScanInfo.sopClassUID;

   planC{indexS.scan}.scanInfo(1).studyInstanceUID = strcat(studyiuid,t);
    
   planC{indexS.scan}.scanInfo(1).seriesInstanceUID = strcat(seriesiuid,t);
    
   planC{indexS.scan}.scanInfo(1).frameOfReferenceUID = strcat(foriuid,t);

   planC{indexS.scan}.scanInfo(1).sopInstanceUID = strcat(sopiuid,t);

   planC{indexS.scan}.scanInfo(1).sopClassUID = strcat(sopcuid,t);
   
   planC{indexS.scan}.uniformScanInfo.studyInstanceUID = strcat(ustudyiuid,t);
    
   planC{indexS.scan}.uniformScanInfo.seriesInstanceUID = strcat(useriesiuid,t);
    
   planC{indexS.scan}.uniformScanInfo.frameOfReferenceUID = strcat(uforiuid,t);

   planC{indexS.scan}.uniformScanInfo.sopInstanceUID = strcat(usopiuid,t);

   planC{indexS.scan}.uniformScanInfo.sopClassUID = strcat(usopcuid,t);
  

This does not work unfortunately. I got some errors in Eclipse as it still seem to think the tags match the image series already there. I also get an error about the structure set having a tag match issue. Am I trying to change the incorrect tags?

I've also tried editng the parameter:

planC{indexS.scan}.scanUID

But if I do this then the DICOM export function in CERR will not work.

If anyone can assist I would be most grateful.

Many thanks

JO

unread,
Oct 6, 2020, 8:27:59 AM10/6/20
to CERR FORUM
When have you downloaded CERR from GitHub? There have been numerous issues and fixes related to TPS import/export in CERR during past year or so.

ap...@mskcc.org

unread,
Oct 6, 2020, 9:56:32 AM10/6/20
to cerr-...@googlegroups.com

Can you try setting the following option in CERROptions.json

 

retainOriginalUIDonExport : “no”

--
You received this message because you are subscribed to the Google Groups "CERR FORUM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerr-forum+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerr-forum/90045d9f-b33f-41a0-afd7-4bdd64e4465an%40googlegroups.com.



*** Only open attachments or links from trusted senders. Report phishing to inf...@mskcc.org ***

 

=====================================================================

Please note that this e-mail and any files transmitted from
Memorial Sloan Kettering Cancer Center may be privileged, confidential,
and protected from disclosure under applicable law. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any reading, dissemination, distribution,
copying, or other use of this communication or any of its attachments
is strictly prohibited. If you have received this communication in
error, please notify the sender immediately by replying to this message
and deleting this message, any attachments, and all copies and backups
from your computer.

Reply all
Reply to author
Forward
0 new messages