DicomREGSave¶
- MLModule¶
genre
author
Wolf Spindler
package
dll
definition
see also
MultiFileVolumeListREGOutput,DicomEnhancedSave,DicomSCSave,DicomSRSave,DicomFIDSave,RTObjectSave,WEMDicomSave,ImageSave,DirectDicomImport,itkImageFileWriter,MultiFileVolumeListImageOutput,MultiFileVolumeListSROutput,MultiFileVolumeListRTOutput,MultiFileVolumeListWaveformOutput,MultiFileVolumeListIteratorOutputkeywords
DICOM,output,save,export,file,create,registration,deformation,vectorfield,deformable,spatial,registration
Purpose¶
The DicomREGSave creates, composes, and saves a DICOM file with either
a Deformable Spatial Registration IOD (Information Object Definition) according to C.20.3, Deformable Spatial Registration
or a Spatial Registration IOD (Information Object Definition) according to C.20.2, Spatial Registration of Part 3 of the DICOM Standard,
and modality REG.
It provides/composes the necessary tags to fulfill the DICOM standard requirements. It derives much generic DICOM save functionality from DicomSaveBase.
One key feature is to Inherit DICOM Information (CTRL\+R) from input sources such as ML images, DICOM files, or a MultiFileVolume as it is created for example by DirectDicomImport.
For further information (especially about the meaning of the tags written in the created output file) see for example DICOM standard http://medical.nema.org/Dicom/2011/11_03pu.pdf section C.20.2, Spatial Registration and section C.20.3, Deformable Spatial Registration.
Usage¶
There are two typical ways to use this module:
Set up
Registration Type To Exportin order to determine the type of the stored DICOM object.Set up
Input Selectorin order to specify the source of values used to initialized DICOM information tags.Set up everything for a Deformable Spatial Registration object: Connect a Vector3 typed image at the image input (see
input0), to select DeformableSpatialRegistration inRegistration Type To Export. This often can be the same input image as the one used to inherit DICOM tagsor
set up everything for a Spatial Registration object: Set up
Frame Of Reference Transformation Matrixwhich defines the spatial transformation matrix and the type of transformation it describes withType.Use
Inherit DICOM Information (CTRL\+R)in order to to initialize all relevant value fields as far as possible from input data. It may be necessary to set up some further fields manually. This depends on the completeness of the input information.Store the DICOM file with
Save (Ctrl\+S).DicomREGSaveapplies many checks for DICOM compliance, however, this cannot guarantee always correct values. Usually the values need a careful revision and completion by the user, because not all settings can be determined or checked automatically.
Windows¶
Default Panel¶
Input Fields¶
input0¶
- name: input0, type: Image¶
A connector for the image to be saved. It can also be used to inherit DICOM information and tag values which shall be stored in the created REG modality file.
Notes:
that the extent of this image (the first three dimensions) define the extent of the output image (found in the GridDimensions tag).
the voxel data of this image is cast to 3D floating vectors and stored in the VectorGridData tag.
inputBase¶
- name: inputBase, type: DicomTree/MultiFileVolumeListRefCounted(MLBase)¶
This is a Base connector which can be used to provide the DICOM tree from which tags can be inherited; it is only used if
Input Selectoris set accordingly. It supports DICOM tree and MultiFileVolumeList Base objects as inputs.For accessing this object via scripting, see the Scripting Reference:
MLABDicomTree.
inputModifierList¶
- name: inputModifierList, type: DicomModifyList(MLBase)¶
This is an optional input where modification plugins can be connected. They are applied as last operation on the final DICOM information directly before it is written to file. This can be used, for example to handle private tags, or to apply final cleanups before the DICOM file is created. See for example
DicomModifyTagsPlugin,DicomModifySubTreeSelectorPlugin, orDicomModifyImageTagsPlugin, which are useful for final modifications on the DICOM information.
input1¶
- name: input1, type: Image¶
A second image input from which some tags can be inherited, see
Inherit Fromfor details.
Parameter Fields¶
Field Index¶
Visible Fields¶
File Name (unresolvedFileName)¶
- name: unresolvedFileName, type: String, deprecated name: unresolvedDcmInputFileName¶
If a loading operation from disk is selected as input in the
Input Selectorthen the file name from which the DICOM tree shall be loaded is specified here. Otherwise this field is insensitive.
True File Name¶
- name: absoluteFileName, type: String, persistent: no, deprecated name: dcmInputFileName¶
The path and name of a DICOM file which can be used to inherit DICOM tags to be written in the REG DICOM file.
Input Selector¶
- name: inputSelector, type: Enum, default: ImageConnector #0, deprecated name: inheritanceInput¶
Selects the input from which DICOM information shall be inherited when
Inherit DICOM Information (CTRL\+R)is triggered. Be careful, because handwritten DICOM tags values are overwritten!
Values:
Title |
Name |
Deprecated Name |
Description |
|---|---|---|---|
Image Connector #0 |
ImageConnector #0 |
ImageConnector |
If |
File |
File |
All DICOM information is retrieved from the file given in field |
|
Base Connector |
BaseConnector |
If |
|
Image Connector #1 |
ImageConnector #1 |
InIdx¶
- name: inputVolumeIndex, type: Integer, default: 0, minimum: 0, deprecated name: ddiOutVolIdx¶
This field selects the volume from the connected
DirectDicomImportwhich shall be used as source for DICOM tags.
#Volumes¶
- name: numVolumes, type: Integer, persistent: no, deprecated name: numDDIVolumes¶
This read-only field shows number of available volumes in the
DirectDicomImport.
Tag Dump Size¶
Dump private tag values¶
- name: dumpPrivateTagValues, type: Bool, default: FALSE¶
If enabled then values of private tags are decoded if decoders are available.
Num shown binary bytes¶
- name: numShownBinaryEntries, type: Integer, default: 8¶
Number of shown bytes of binary tags.
Annotate¶
- name: annotate, type: Bool, default: FALSE¶
If enabled then tags are annotated with further descriptive information such as possible types ( 1=Mandatory, 1C=Conditionally Mandatory, 2=Mandatory, may have zero or one item, 2C=Conditionally Mandatory, but may be empty, 3=Optional) and possible meanings of the tag. Note that no context analysis is performed for that information and therefore all possible and perhaps redundant meanings are shown.
Filter¶
- name: regExLineFilter, type: String¶
If not empty then the regular expression is used to filter all lines of
Tag Dump; see that field for more details. Examples:======================= ================================== Expression Description ======================= ================================== .* Matches all string/lines. .*(0008,0032).* Matches all lines containing this tag ID. .*logo.* Matches anything containing 'logo' (case sensitive) .*[lL][oO][gG][oO].* Matches anything containing 'logo' (case insensitive) .*.[jJ][pP][gG] Matches anything ending with .jpg where jpg is case insensitive. .*.JPG|.*.jpg Matches all paths ending with either '.jpg' or with '.JPG'. .*\d.* Matches all paths containing at least one digit. .*[[:digit:]].* Same as above. .*[[:xdigit:]].* Matches all paths containing at least one hexadecimal digit. .*\l.* Matches all paths containing at least one lower case character. .*[[:lower:]].* Same as above. .*\u.* Matches all paths containing at least one upper case character. .*[[:upper:]].* Same as above. .*\s.* Matches all paths containing at least one white space character. .*[[:space:]].* Same as above. .*[[:blank:]].* Matches all paths containing at least one non-line-separating whitespace. .*[[:word:]].* Matches all paths containing at least one word character (alphanumeric characters plus the underscore). .*[[:w:]].* Same as above. .*[[:graph:]].* Matches all paths containing at least one graphical character. .*[5-7].* Matches all paths containing at least one of the digits 5, 6 or 7. ======================= ==================================
Tag Dump¶
- name: tagDump, type: String, persistent: no¶
Shows a dump of the DICOM tags; if necessary it will be clamped at a size given by
Tag Dump Sizeand the message ‘tag list shortened and not shown completely’ is appended.
Inherit DICOM Information (CTRL+R)¶
- name: inheritDICOMTags, type: Trigger¶
If notified then all DICOM related information is inherited from the selected input. Note that some DICOM tags of the input image are removed to avoid that they cause trouble when they are found when the saved image is imported somewhere else.
Save (Ctrl+S)¶
File Name (fileName)¶
- name: fileName, type: String¶
The path and name of the REG modality file to be written.
Post Bad Param Errors¶
- name: postBadParamErrors, type: Bool, default: TRUE¶
If enabled then bad parameters are posted as ML error, otherwise they are only shown in status field.
Status¶
- name: status, type: String, persistent: no¶
Shows general information and messages.
Registration Type To Export¶
- name: registrationTypeToExport, type: Enum, default: DeformableSpatialRegistration¶
Selects whether an object according C.20.2 Spatial Registration or a Deformable Spatial Registration according to C.20.3 Deformable Spatial Registration shall be exported.
Values:
Title |
Name |
Description |
|---|---|---|
Deformable Spatial Registration |
DeformableSpatialRegistration |
A Deformable Spatial Registration according to C.20.3 Deformable Spatial Registration with SOP Class UID 1.2.840.10008.5.1.4.1.1.66.3 shall be exported. |
Spatial Registration |
SpatialRegistration |
A Spatial Registration according to C.20.2 Spatial Registration with SOP Class UID 1.2.840.10008.5.1.4.1.1.66.1 shall be exported. |
Patients Name¶
- name: patientsName, type: String¶
The name of the patient this report is created for.
Patient ID¶
- name: patientID, type: String¶
DICOM tag: String/number used to identify the patient see tag (0010,0020).
Patient Birth Date Year¶
- name: patientBirthDateYearEnum, type: Enum, default: User Defined¶
The selectable year of birth of the patient; ‘User Defined’ allows manual specification. See DICOM tag Patient’s Birth Day (0010,0030).
Patient Birth Date Year String¶
- name: patientBirthDateYearString, type: String¶
The year of the patient birth as string. Can be modified manually only if ‘Patient Sex’ is ‘User Defined’. See DICOM tag Patient’s Birth Day (0010,0030).
Patient Birth Date Month¶
- name: patientBirthDateMonthEnum, type: Enum, default: User Defined¶
The selectable month of birth of the patient; ‘User Defined’ allows manual specification. For convenience the module also allows and translates values such as “03-March” or “March” to the required value component “03”, respectively. See DICOM tag Patient’s Birth Day (0010,0030).
Patient Birth Date Month String¶
- name: patientBirthDateMonthString, type: String¶
The month of birth of the patient; ‘User Defined’ allows manual specification. For convenience the module also allows and translates values such as “03-March” or “March” to the required value component “03”, respectively. See DICOM tag Patient’s Birth Day (0010,0030).
Patient Birth Date Day¶
- name: patientBirthDateDayEnum, type: Enum, default: User Defined¶
The selectable Day of birth of the patient; ‘User Defined’ allows manual specification. See DICOM tag Patient’s Birth Day (0010,0030).
Patient Birth Date Day String¶
- name: patientBirthDateDayString, type: String¶
The day of the patient birth as string. Can be modified manually only if ‘Patient Birth Date Day’ is ‘User Defined’. See DICOM tag Patient’s Birth Day (0010,0030).
Patient Sex¶
- name: patientSexEnum, type: Enum, default: Other¶
The selectable sex of the patient; ‘User Defined’ allows manual specification. See DICOM tag Patient Sex (0010,0040).
Values:
Title |
Name |
|---|---|
Other |
Other |
Female |
Female |
Male |
Male |
User Defined |
User Defined |
Patient Sex String¶
- name: patientSexString, type: String¶
The sex of the patient as string. Can be modified manually only if ‘Patient Sex’ is ‘User Defined’. See DICOM tag Patient Sex (0010,0040).
Patient Inherit Mode¶
- name: patientInheritMode, type: Enum, default: InheritFromTopLevel¶
Controls in which way patient information tags are inherited from input if inheritDICOMTags is triggered.
Values:
Title |
Name |
|---|---|
Do Not Inherit |
DoNotInherit |
Inherit From Top Level |
InheritFromTopLevel |
Study Instance UID (studyInstanceUID)¶
- name: studyInstanceUID, type: String¶
DICOM tag: Study Instance UID (0020,000D) Unique identifier for the study. If available then see
Update automatically on changes of StudyInstanceUIDand C.12.2 Common Instance Reference Module in the DICOM standard for details and important dependent settings. Must contain up to 64 characters from ‘0’-‘9’ or ‘.’.
Create new UID¶
- name: createStudyInstanceUID, type: Trigger¶
Creates a new Study Instance UID
Auto¶
- name: autoCreateStudyInstanceUID, type: Bool, default: FALSE¶
If enabled for each written file a new Study Instance UID is created. If disabled the currently set one is used.
Study Date¶
- name: studyDate, type: String¶
DICOM tag: Study Date (0008,0020). The date the study started. May be empty.
Study Time¶
- name: studyTime, type: String¶
DICOM tag: Study Time (0008,0030). The time the study started. May be empty.
Referring Physician Name¶
- name: referringPhysicianName, type: String¶
DICOM tag: Referring Physician’s Name (0008,0090). Name of the patient’s referring physician. May be empty.
Study ID¶
- name: studyID, type: String, deprecated name: studyUID¶
DICOM tag: Study UID (0020,0010). User or equipment generated study ID. May be empty.
Accession Number¶
- name: accessionNumber, type: String¶
DICOM tag: Accession Number (0008,0050). A RIS generated number that identifies the order of the Study. May be empty.
Study Description¶
- name: studyDescription, type: String¶
DICOM tag: Study Description (0008,1030). Institution-generated description or classification of the Study (component) performed. Optional, may be empty.
Series Number¶
- name: seriesNumber, type: String¶
DICOM tag: Series Number (0020,0011). Integer number with at most 12 digits; tag must exist and in most contexts it must have a non-empty value; in a few IODs it is allowed to be empty.
Inherit series number¶
- name: inheritSeriesNumber, type: Bool, default: FALSE¶
Sometimes it is not desired to inherit the Series Number tag from the input, because it may be set by the module user. For this purpose it can be disabled.
Laterality¶
- name: laterality, type: Enum, default: WriteEmptyTagValue¶
DICOM tag: Laterality (0020,0060). Allowed values: ‘L’ (Left), ‘R’ (Right), and empty value (WriteEmptyTagValue). Note that not writing the tag value may violate the DICOM standard under some circumstances.
Values:
Title |
Name |
|---|---|
Do Not Write Tag Value |
DoNotWriteTagValue |
Write Empty Tag Value |
WriteEmptyTagValue |
L |
L |
R |
R |
Use empty laterality tag if not found on inheritance¶
- name: useEmptyLateralityTagIfNotFoundOnInheritance, type: Bool, default: TRUE¶
In may contexts the Laterality tag (0020,0060) must be available but is allowed to be empty, however, often it cannot be inherited since it is not part of the DICOM source. This field allow to inherit a state that always an empty tag value is written instead of skipping it which perhaps would violate the DICOM standard. Also depends on other Laterality tags.
Laterality Checks¶
- name: lateralityChecks, type: Enum, default: AsWarning¶
The combinations of values of Laterality tag(s) and BodyPartExamined cannot be checked reliably in all situations; therefore a deactivation or only warning logs may be useful in some cases.
Values:
Title |
Name |
|---|---|
As Error |
AsError |
As Warning |
AsWarning |
Ignore |
Ignore |
Series Description¶
- name: seriesDescription, type: String¶
DICOM tag: Series Description (0008,103E). Optional, may be empty.
Write body part examined¶
- name: writeBodyPartExamined, type: Bool, default: FALSE¶
If enabled Then the Body Part Examined (0018,0015) tag is written into output files, otherwise not.
Body Part Examined¶
- name: bodyPartExamined, type: String¶
DICOM tag: Body Part Examined (0018,0015). Text description of the part of the body examined. See Annex L ‘Correspondence of Anatomic Region Codes and Body Part Examined Defined Terms’ in PS3.16 for Defined Terms
Content Date¶
- name: contentDate, type: String¶
DICOM tag: Content Date (0008,0023). The data the image pixel data creation started. May be empty.
Content Time¶
- name: contentTime, type: String¶
DICOM tag: Content Time (0008,0033). The time the image pixel data creation started. May be empty.
Content Label¶
- name: contentLabel, type: String¶
DICOM tag: Content Label (0070,0080). A label that is used to identify this SOP instance. Must obey value representation CS (Uppercase characters, ‘0’-‘9’, the SPACE character, and underscore ‘_’, of the Default Character Repertoire, 16 bytes maximum).
Content Description¶
- name: contentDescription, type: String¶
DICOM tag: Content Description (0070,0081). A description of the content of this SOP instance.
Content Creators Name¶
- name: contentCreatorsName, type: String¶
DICOM tag: Content Creator’s Name (0070,0084). Name of operator (such as a technologist or physician) creating the content of the SOP instance. May be empty.
Source Frame Of Reference UID¶
- name: sourceFrameOfReferenceUID, type: String¶
DICOM tag: SourceFrameOfReferenceUID (0064,0003). Unique ID referencing the DICOM frame on which the saved data set is based. It should reference the file on which this deformation file ‘lives’; usually derived from the ‘FrameOfReferenceUID’ tag of the connected input image.
Inherit From (sourceFrameOfReferenceUIDInheritanceSource)¶
- name: sourceFrameOfReferenceUIDInheritanceSource, type: Enum, default: IMAGE_INPUT¶
Determines from where the value of
frameOfReferenceUIDis inherited from whenInherit DICOM Information (CTRL\+R)is touched: from the connected input DICOM file or from the connected input image DICOM extension.
Values:
Title |
Name |
|---|---|
Dicom Input |
DICOM_INPUT |
Image Input |
IMAGE_INPUT |
Frame Of Reference Transformation Matrix¶
- name: frameOfReferenceTransformationMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1¶
DICOM tag: The Frame of Reference Transformation Matrix (3006,006C) Matrix Registration Sequence (0070,0309).
Type (frameOfReferenceTransformationMatrixType)¶
- name: frameOfReferenceTransformationMatrixType, type: Enum, default: RIGID¶
DICOM tag: Frame of Reference Transformation Matrix Type (0070,030C) specified in the Matrix Registration Sequence (0070,0309).
Values:
Title |
Name |
|---|---|
Rigid |
RIGID |
Rigid Scale |
RIGID_SCALE |
Affine |
AFFINE |
World Matrix Inheritance Source¶
- name: worldMatrixInheritanceSource, type: Enum, default: DICOM_INPUT¶
Determines from where the values of
Image Position PatientandImage Orientation Patientare inherited from whenInherit DICOM Information (CTRL\+R)is touched: from the connected input DICOM file or from the connected input image world matrix.
Values:
Title |
Name |
|---|---|
Dicom Input |
DICOM_INPUT |
Image Input |
IMAGE_INPUT |
Image Position Patient¶
- name: imagePositionPatient, type: Vector3, default: 0 0 0¶
DICOM tag: The ImagePositionPatient (0020,0032) of the Deformable Registration Grid Sequence (0064,0002); usually derived from the connected input image.
Image Orientation Patient¶
- name: imageOrientationPatient, type: Vector6, default: 1 0 0 0 1 0¶
DICOM tag: The ImageOrientationPatient (0020,0037) of the Deformable Registration Grid Sequence (0064,0002); usually derived from the connected input image.
Pre Deformation Matrix¶
- name: preDeformationMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1¶
DICOM tag: The Frame of Reference Transformation Matrix (3006,006C) specified in the Pre Deformation Matrix Registration Sequence (0064,000F).
Type (preDeformationMatrixType)¶
- name: preDeformationMatrixType, type: Enum, default: RIGID¶
DICOM tag: Frame of Reference Transformation Matrix Type (0070,030C) specified in the Pre Deformation Matrix Registration Sequence (0064,000F).
Values:
Title |
Name |
|---|---|
Rigid |
RIGID |
Rigid Scale |
RIGID_SCALE |
Affine |
AFFINE |
Post Deformation Matrix¶
- name: postDeformationMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1¶
DICOM tag: The Frame of Reference Transformation Matrix (3006,006C) specified in the Post Deformation Matrix Registration Sequence (0064,0010).
Type (postDeformationMatrixType)¶
- name: postDeformationMatrixType, type: Enum, default: RIGID¶
DICOM tag: The Frame of Reference Transformation Matrix Type (0070,030C) specified in the Post Deformation Matrix Registration Sequence (0064,0010).
Values:
Title |
Name |
|---|---|
Rigid |
RIGID |
Rigid Scale |
RIGID_SCALE |
Affine |
AFFINE |
Inherit From (inputConnectorSelector)¶
- name: inputConnectorSelector, type: Enum, default: ImageConnector #1¶
Determines from which input the UIDs of the
Referenced SOP Class UIDs, andReferenced SOP Instance UIDsare inherited.
Values:
Title |
Name |
Description |
|---|---|---|
ImageConnector #0 |
ImageConnector #0 |
Contents of |
ImageConnector #1 |
ImageConnector #1 |
Contents of |
Clear Fields¶
- name: clearReferencedImageSequenceFields, type: Trigger¶
Clears all contents of
Referenced Frame Numbers,Referenced Segment Numbers,Referenced SOP Class UIDs, andReferenced SOP Instance UIDs.
Referenced Frame Numbers¶
- name: referencedFrameNumbers, type: String¶
The values of the Referenced Frame Numer (0008,1160) tags of the Image SOP Instance Reference Macro Attributes of the entries of the Referenced Image Sequence (0008,1140) tag of the Deformable Spatial Registration Module. Can be left empty under some circumstances, should be empty for non multi-frame sources. Lists of ‘print-list’ like formatted numbers for the ‘Referenced Frame Number (0008,1160)’ tags in the sequence items. If string is empty then no tag is added. Lists for sequence items are separated with colons, such as ‘1-2,4,6 : 1 2 3 4 : 1’ results in 1,2,4,6 for first sequence item, 1,2,3,4 for second sequence item, and 1 for third sequence item. First frame index is denoted by 1, 0 is not allowed.
Referenced Segment Numbers¶
- name: referencedSegmentNumbers, type: String¶
The values of the Referenced Segment Numer (0062,000B) tags of the Image SOP Instance Reference Macro Attributes of the entries of the Referenced Image Sequence (0008,1140) tag of the Deformable Spatial Registration Module. May be non-empty only for Segmentation sources. Lists of ‘print-list’ like formatted numbers for the ‘Referenced Segment Numbers(0062,000B)’ tags in the sequence items. If string is empty then no tag is added. Lists for sequence items are separated with colons, such as ‘3-5,7 : 1,2,3,4 : 3’ results in 3,4,5,7 for first sequence item, 1,2,3,4 for second sequence item, and 3 for third sequence item. First frame index is denoted by 1, 0 is not allowed.
Referenced SOP Class UIDs (referencedImageSequenceReferencedSOPClassUIDs)¶
- name: referencedImageSequenceReferencedSOPClassUIDs, type: String¶
The newline-separated Referenced SOP Class UID’s (0008,1150) of the (Image) SOP Instance Reference Macro Attributes of the entries of the Referenced Image Sequence (0008,1140) tag of the Deformable Spatial Registration Module.
Referenced SOP Instance UIDs (referencedImageSequenceReferencedSOPInstanceUIDs)¶
- name: referencedImageSequenceReferencedSOPInstanceUIDs, type: String¶
The newline-separated Referenced SOP Instance UID’s (0008,1155) of the (Image) SOP Instance Reference Macro Attributes of the entries of the Referenced Image Sequence (0008,1140) tag of the Deformable Spatial Registration Module.
Update automatically on changes of StudyInstanceUID¶
- name: autoUpdateOnStudyInstanceUIDChanges, type: Bool, default: TRUE¶
Automatically update tags of Common Instance Reference IOD Module on changes of StudyInstanceUID.
Clear Referenced Series Fields¶
- name: referencedSeriesClear, type: Trigger¶
Clears all contents of
Referenced SOP Class UIDs,Series Instance UID, andReferenced SOP Instance UIDs.
Referenced SOP Class UIDs (referencedSeriesReferencedSOPClassUIDs)¶
- name: referencedSeriesReferencedSOPClassUIDs, type: String¶
The newline-separated UIDs of the Referenced Instance Sequence (0008,114A) of the entry of the Referenced Series Sequence (0008,1115) tag of the Common Instance Reference Module
Referenced SOP Instance UIDs (referencedSeriesReferencedSOPInstanceUIDs)¶
- name: referencedSeriesReferencedSOPInstanceUIDs, type: String¶
The newline-separated UIDs of the Referenced Instance Sequence (0008,114A) of the entry of the Referenced Series Sequence (0008,1115) tag of the Common Instance Reference Module
Series Instance UID (referencedSeriesSeriesInstanceUID)¶
- name: referencedSeriesSeriesInstanceUID, type: String¶
The Series Instance UID (0020,000E) of the entry of the Referenced Series Sequence (0008,1115) tag of the Common Instance Reference Module
Clear Referenced Studies Fields¶
- name: referencedStudiesClear, type: Trigger¶
Clears the contents of
Study Instance UID,Series Instance UID,Referenced SOP Class UIDs, andReferenced SOP Instance UIDs.
Referenced SOP Class UIDs (referencedStudiesReferencedSOPClassUIDs)¶
- name: referencedStudiesReferencedSOPClassUIDs, type: String¶
The newline-separated UIDs of the Referenced Instance Sequence (0008,114A) of the entry of the Studies Containing Other Referenced Instances Sequence (0008,1200) tag of the Common Instance Reference Module. Each line must only contain up to 64 characters from ‘0’-‘9’ or ‘.’.
Referenced SOP Instance UIDs (referencedStudiesReferencedSOPInstanceUIDs)¶
- name: referencedStudiesReferencedSOPInstanceUIDs, type: String¶
- The newline-separated UIDs of the
Referenced Instance Sequence (0008,114A) of the entry of the Studies Containing Other Referenced Instances Sequence (0008,1200) tag of the Common Instance Reference Module
Study Instance UID (commonInstanceReferenceStudyInstanceUID)¶
- name: commonInstanceReferenceStudyInstanceUID, type: String¶
The Study Instance UID (0020,000D) of the entry of the Studies Containing Other Referenced Instances Sequence (0008,1200) tag of the Common Instance Reference Module. Must contain up to 64 characters from ‘0’-‘9’ or ‘.’.
Series Instance UID (referencedStudiesSeriesInstanceUID)¶
- name: referencedStudiesSeriesInstanceUID, type: String¶
The Series Instance UID (0020,000E) of the entry of the Studies Containing Other Referenced Instances Sequence (0008,1200) tag of the Common Instance Reference Module. Must contain up to 64 characters from ‘0’-‘9’ or ‘.’.
Sop Class UID¶
- name: sopClassUID, type: String, persistent: no¶
Read-only value: Uniquely defines the DICOM SOP class to be written by this module as described in DICOM Standard C.12.1.1.1 SOP Class UID, SOP Instance UID. Must contain up to 64 characters from ‘0’-‘9’ or ‘.’.
Sop Instance UID¶
- name: sopInstanceUID, type: String, persistent: no¶
Read-only value: Uniquely defines the DICOM SOP Instance UID written by this module as described in DICOM Standard C.12.1.1.1 SOP Class UID, SOP Instance UID. Must contain up to 64 characters from ‘0’-‘9’ or ‘.’.
Specific Character Set¶
- name: specificCharacterSet, type: String, default: ISO_IR 192¶
Specific Character Set (0008,0005) identifies the Character Set that expands or replaces the Basic Graphic Set (ISO 646) for values of Data Elements that have Value Representation of SH, LO, ST, PN, LT, UC or UT.
Recommended is ISO_IR 192 (which corresponds to the internal MeVisLab representation) or disable tag writing at all which also uses this term.
Enabling this term may cause that inconvertible characters are silently lost.
Currently supported values are
ISO_IR 6 // ASCII, not a real term but will drop to default, i.e. no tag will be written.
ISO_IR 100 // Latin alphabet No. 1
ISO_IR 101 // Latin alphabet No. 2
ISO_IR 109 // Latin alphabet No. 3
ISO_IR 110 // Latin alphabet No. 4
ISO_IR 144 // Cyrillic
ISO_IR 127 // Arabic
ISO_IR 126 // Greek
ISO_IR 138 // Hebrew
ISO_IR 148 // Latin alphabet No. 5
ISO_IR 13 // Japanese
ISO_IR 166 // Thai
ISO_IR 192 // Unicode in UTF-8 (multi-byte)
GB18030 // Chinese (multi-byte)
GBK // Chinese (multi-byte, subset of GB 18030
Write specific character set¶
- name: writeSpecificCharacterSet, type: Bool, default: FALSE¶
If enabled then Specific Character Set (0008,0005) is written into the output file, otherwise not.
Off is recomended for this field and for ‘Inherit Specific Character Set’ which then automatically uses ISO_IR 192 (=’UTF-8’ which is the internal MeVisLab representation).
Enabling this may cause that inconvertible characters are silently lost during save.
Inherit specific character set¶
- name: inheritSpecificCharacterSet, type: Bool, default: FALSE¶
If enabled then ‘Specific Character Set (0008,0005)’ and ‘Write specific character set’ are updated on inheritance according to the input data set.
Off is recomended for this field and for ‘Write specific character set’ which then automatically uses ISO_IR 192 (=’UTF-8’ which is the internal MeVisLab representation).
Enabling this may cause that non-ISO_IR 192 character sets are inherited and written and inconvertible characters from input are silently lost.
Set Default¶
- name: setDefaultSpecificCharacterSet, type: Trigger¶
Sets the recommended ‘ISO_IR 192’ character set as default which matches the internal UTF-8 coding in MeVisLab and reduces risk of losing inconvertible characters.
Create or extend contributing equipment sequence¶
- name: createOrExtendContributingEquipmentSequence, type: Bool, default: FALSE¶
If enabled then a new entry is appended to the inherited Contributing Equipment Sequence (0018,A001) or a new one is generated if there is none in the input. Contributing Equipment Sequence (0018,A001) is of Type 3 (not required) but according to PS3.4 ‘C.3.5 New Instance Creation for Enhanced Multi-Frame Image Conversion’ ‘The new Composite Instance shall contain the Contributing Equipment Sequence (0018,A001)’ e.g. on LegacyEnhanced creation.