Closed cpinter closed 5 years ago
2014-12-02 17:39 Csaba Pinter @wangk The DICOM export branches have been integrated. You can see that the modules DicomRtImport and DicomRtExport have been merged to one called DicomRtImportExport, and the two logic classes were also merged quite simply. Can you please do the same for SRO imort/export too? Thanks!
2014-12-11 14:49 Csaba Pinter Assigned to set to Kevin Wang Status changed from New to Accepted Implementation in two phases 1A. Select one study that contains the transform and two volumes. The SRO export plugin identifies the moving image because its parent is the transform, and the other volume will be the fixed image. Problem: a temporary study needs to be created just for export 1B. Select only the transform. The SRO plugin identifies the moving image because its parent is the transform, and pops up a dialog with a short message and single combobox to select the fixed image.
Export volumes from SRO plugin: As one plugin needs to export all the objects that reference each other (so that the UIDs can be connected), the SRO plugin has to claim the volume nodes too for export, with a reasonable confidence (so that the SRO plugin has the higher combined confidence with a transform and two volumes, but ScalarVolume has higher confidence when choosing volumes only). So the SRO plugin has to export these volumes in one way or the other
2014-12-11 15:16 Kevin Wang I think the current dicom export plugin mechanism needs a bit improvement. this dicom plugin framework works fine for import but not for export as during export all the UIDs have to be created using different plugins and exchanged to other plugins for reference.
I propose to have a more feature-rich dicom export module, in which the patient, study and series dicom modules can be created and all the UIDs are stored centrally. on the other side, we will have much leaner export plugin which takes the patient, study and series meta data generated by dicom export module and write out the specific dicom files.
I think it would be good to discuss this with @gregsharp and @pieper.
Questions:
To identify the volumes related to the registration, it would be needed to update the registration modules to add node references from the transform to the fixed and moving volumes. This involves adding CLI features so that BRAINSFit can do this as well.
For reference, related PRs: https://github.com/Slicer/SlicerExecutionModel/pull/109 https://github.com/Slicer/Slicer/pull/1120 https://github.com/BRAINSia/BRAINSTools/pull/426
Slicer commits: https://github.com/Slicer/Slicer/commit/4ad9ed17f3531237d9a378241ee106cd326a6175 https://github.com/Slicer/Slicer/commit/62a9f9aeb1e90fb03264147635be111d2669eb20 https://github.com/Slicer/Slicer/commit/8301c8c58341cd86946572ca21485c6369ac8e2f https://github.com/Slicer/Slicer/commit/fea81f73f0ad6a2f77c0849fea71b78d7f78ba5e
More commits to come in Elastix, SlicerIGT and SlicerRT.
Information about SRO export of commercial software by Greg: "In both Eclipse and MIM, the Registered RCS (i.e. Frame of Reference of the registration object) is set to the Frame of Reference of one of the images.
In the case of Eclipse, they require the Source RCS to have a different frame of reference from the Registered RCS. The Referenced Image Sequence attribute is omitted.
In MIM it is allowed for the Source RCS and Registered RCS to be the same. The Referenced Image Sequence attribute is used to identify which image objects within the Source RCS are being registered. This allows to register between images which belong to different series within the same frame of reference (e.g. 4D CT)."
DICOM export plugin is now added for SROs. The last missing piece is deformable SRO export, which will be addressed in https://github.com/SlicerRt/SlicerRT/issues/41
See DicomRtImportExport module changes.
(It's in the branch https://subversion.assembla.com/svn/slicerrt/branches/DICOMExport/ and not integrated yet, but will be in a few weeks, so either work in that branch or wait until it's integrated)
Migrated from https://app.assembla.com/spaces/slicerrt/tickets/670-update-sro-import-export-to-work-with-the-new-export-mechanism/details