CreateRTStruct¶
-
MacroModule
¶ author Grzegorz Chlebus
package FMEwork/ReleaseMeVis
definition CreateRTIODs.def see also RTStructInfo
,RTObjectSave
keywords RT
,DICOM
,CSO
Purpose¶
Create RT Structure Set IOD object using a CSOList (inCSOList
), an image (inImage
) and a DICOM Tree (inDicomTree
), from which tags like Patient Name, Patient Sex, Study Description are copied.
Usage¶
See example network. Note, that the input CSOList is not allowed to contain ungrouped CSOs.
Details¶
The following tags are set:
- RT Series Module
- Modality (0008,0060) is set to RTSTRUCT.
- Series Number (0020,0011) is set to 1.
- Series Instance UID (0020,000e) is generated anew.
- Structure Set Module:
- Structure Set Date (3006,0008) is set to current date.
- Structure Set Time (3006,0009) is set to current time.
- SOP Common Module:
- SOP Class UID (0008,0016) is set to 1.2.840.10008.5.1.4.1.1.481.3.
- SOP Instance UID (0008,0018) is generated anew.
- Instance Creation Date (0008,0012) is set to current date.
- Instance Creation Time (0008,0013) is set to current time.
- Timezone Offset From UTC (0008,0201) is set automatically.
See help of DicomModifyMLToRTStructPlugin
to see what else is set.
To see which tags are copied from the input DICOM Tree (inDicomTree
), examine the CopyTags module in the macro’s internal network.
Input Fields¶
Parameter Fields¶
Field Index¶
Clear : Trigger |
Status Message : String |
Contour Data Precision : Integer |
Structure Set Description : String |
CSO Image Reference Mode : Enum |
Structure Set Label : String |
Has Valid Output : Bool |
Structure Set Name : String |
progress : Float |
Treat Collinear As Planar : Bool |
Reference All Image Slices : Bool |
Update : Trigger |
Series Description : String |
Update Automatically : Bool |
Status Code : Enum |
Visible Fields¶
Contour Data Precision¶
-
name:
contourDataPrecision
, type:
Integer
, default:
2
, minimum:
0
¶ See help of the corresponding field of the
DicomModifyMLToRTStructPlugin
.
Reference All Image Slices¶
-
name:
referenceAllImageSlices
, type:
Bool
, default:
FALSE
¶ See help of the corresponding field of the
DicomModifyMLToRTStructPlugin
.
Treat Collinear As Planar¶
-
name:
treatCollinearAsPlanar
, type:
Bool
, default:
FALSE
¶ See help of the corresponding field of the
DicomModifyMLToRTStructPlugin
.
CSO Image Reference Mode¶
-
name:
csoImageReferenceMode
, type:
Enum
, default:
RequireExactlyOneSlice
¶ See help of the corresponding field of the
DicomModifyMLToRTStructPlugin
.
Values:
Title | Name |
---|---|
Require Exactly One Slice | RequireExactlyOneSlice |
Reference Image If One Slice | ReferenceImageIfOneSlice |
Do Not Reference Image | DoNotReferenceImage |
Series Description¶
-
name:
seriesDescription
, type:
String
¶ Set a SeriesDescription DICOM tag value for the new RTStructureSet.
Structure Set Label¶
-
name:
structureSetLabel
, type:
String
¶ Set a RTSTructureSetLabel DICOM tag value for the new RTStructureSet.
Structure Set Name¶
-
name:
structureSetName
, type:
String
¶ Set a RTSTructureSetName DICOM tag value for the new RTStructureSet.
Structure Set Description¶
-
name:
structureSetDescription
, type:
String
¶ Set a RTSTructureSetDescription DICOM tag value for the new RTStructureSet.