CreateRTStruct¶
- MacroModule¶
author
package
definition
see also
keywords
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.
Windows¶
Default Panel¶
Input Fields¶
inImage¶
- name: inImage, type: Image, deprecated name: inCT¶
Input image.
inCSOList¶
- name: inCSOList, type: MLBase¶
Input CSO List.
inDicomTree¶
- name: inDicomTree, type: MLBase¶
Input DICOM Tree.
Output Fields¶
outRTStruct¶
- name: outRTStruct, type: MLBase¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
Has Valid Output¶
- name: hasValidOutput, type: Bool, persistent: no¶
Status Code¶
- name: statusCode, type: Enum, persistent: no¶
Values:
Title |
Name |
|---|---|
Ok |
Ok |
Invalid input object |
Invalid input object |
Invalid input parameter |
Invalid input parameter |
Internal error |
Internal error |
Status Message¶
- name: statusMessage, type: String, persistent: no¶
Update¶
- name: update, type: Trigger¶
Clear¶
- name: clear, type: Trigger¶
Update Automatically¶
- name: updateAutomatically, type: Bool, default: FALSE¶