25namespace DicomIODsCreate {
30 const std::string& SOPClassUID,
31 const std::string& SOPInstanceUID);
37 const std::string& contentLabel,
38 const std::string& contentDescription =
"",
39 const std::string& contentCreatorsName =
"");
71 const std::string& seriesInstanceUID,
76 const std::string& modality =
"",
85 const std::string& manufacturer ,
87 const std::string& deviceSerialNumber ,
88 const std::string& softwareVersions );
136 const std::string& referencedFrameNumber=std::string(),
137 const std::string& referencedSegmentNumber=std::string());
173 unsigned int segmentNumber);
Class implementing a segmentation item according to the DICOM Segmentation Image Modul as described i...
Header file of the class implementing a segmentation item according to the DICOM Segmentation Image M...
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
ML_MLToDicomTools_EXPORT std::string appendReferencedSOPTagUIDs(DCMTree::TreePtr dcmTree, const std::string &referencedSOPClassUID, const std::string &referencedSOPInstanceUID, const std::string &referencedFrameNumber=std::string(), const std::string &referencedSegmentNumber=std::string())
Add DICOM Standard, 10.8 SOP INSTANCE REFERENCE MACRO-Tags Referenced SOP Class UID,...
ML_MLToDicomTools_EXPORT std::string appendGeneralEquipmentModuleTags(DCMTree::TreePtr resultTree, const std::string &manufacturer, const std::string &manufacturerModelName, const std::string &deviceSerialNumber, const std::string &softwareVersions)
Appends required DICOM tags to resultTree according to DICOM standard, C.7.5.1, General Equipment Mod...
ML_MLToDicomTools_EXPORT std::string appendGeneralStudyModuleTags(DCMTree::TreePtr resultTree, const std::string &studyInstanceUID, const std::string &studyDate, const std::string &studyTime, const std::string &referringPhysicianName, const std::string &studyID, const std::string &accessionNumber, const std::string &studyDescription)
Appends required DICOM tags to resultTree according to DICOM standard, C.7.1.3, General Study Module ...
ML_MLToDicomTools_EXPORT std::string appendContentIdentificationMacroTags(DCMTree::TreePtr resultTree, const std::string &instanceNumber, const std::string &contentLabel, const std::string &contentDescription="", const std::string &contentCreatorsName="")
Appends required DICOM tags to resultTree according to DICOM standard, 10.9, Content Identification M...
ML_MLToDicomTools_EXPORT std::string appendImagePlaneModuleTags(DCMTree::TreePtr resultTree, const Vector2 &pixelSpacing, const Vector3 &imagePositionPatient, const Vector6 &imageOrientationPatient, double sliceThickness, double sliceLocation)
Appends required DICOM tags to resultTree according to DICOM standard, C.7.6.2, Image Plane Module At...
ML_MLToDicomTools_EXPORT std::string appendContentDataTimeModuleTags(DCMTree::TreePtr resultTree, const std::string &contentDate, const std::string &contentTime, const DCMTree::RawTagId dateTagId=DCMTree_ContentDate, const DCMTree::RawTagId timeTagId=DCMTree_ContentTime)
Appends required DICOM tags ContentData and ContentTime to resultTree, C.7.6.1, General Image Module ...
ML_MLToDicomTools_EXPORT std::string appendSOPCommonModuleTags(DCMTree::TreePtr resultTree, const std::string &SOPClassUID, const std::string &SOPInstanceUID)
Appends required DICOM tags to resultTree according to DICOM standard, C.12.1, SOP Common Module.
ML_MLToDicomTools_EXPORT std::string appendGeneralSeriesModuleTags(DCMTree::TreePtr resultTree, const std::string &seriesInstanceUID, const std::string &seriesNumber, const std::string &seriesDescription, bool writeLateralityTag=false, const std::string &laterality="", const std::string &modality="", bool writePatientPositionTag=false, const std::string &patientPosition="", bool writeBodyPartExaminedTag=false, const std::string &bodyPartExamined="")
Appends required DICOM tags to resultTree according to DICOM standard, C.7.3.1, General Series Module...
ML_MLToDicomTools_EXPORT std::string appendPatientModuleTags(DCMTree::TreePtr resultTree, const std::string &patientsName, const std::string &patientID, const std::string &patientBirthDate, const std::string &patientSexString)
Appends required DICOM tags to resultTree according to DICOM standard, C.7.1.1, Patient Module Module...
ML_MLToDicomTools_EXPORT std::string appendSCMultiframeImageModuleTags(DCMTree::TreePtr resultTree, const std::string &burnedInAnnotation, double rescaleIntercept, double rescaleSlope, const std::string &rescaleType, bool writeNominalScannedPixelSpacing=false, const Vector2 &nominalScannedPixelSpacing=Vector2(1, 1), bool writeFrameIncrementPointer=false, const std::string &frameIncrementPointer="(0000,0000)")
Appends required DICOM tags to resultTree according to DICOM standard, C.8.6.3 SC Multi-Frame-image m...
ML_MLToDicomTools_EXPORT std::string appendCodeSequenceMacroAttributesTags(DCMTree::TreePtr dcmTree, const DCMTree::TagId sequenceTagId, const std::string &sequenceName, const std::string &codeValue, const std::string &codingSchemeDesignator, const std::string &codeMeaning)
Add a Code Sequence with one entry with Code Sequence Macro Attributes given by the code* parameters.
ML_MLToDicomTools_EXPORT std::string appendGeneralAnatomyMandatoryMacroAttributesTags(DCMTree::TreePtr dcmTree, const std::string &codeValue, const std::string &codingSchemeDesignator, const std::string &codeMeaning)
Add General Anatomy Mandatory Macro tags according to DICOM Standard, Table 8.8-1.
ML_MLToDicomTools_EXPORT std::string appendSegmentItemTags(DCMTree::TreePtr dcmTree, const DicomSegmentItem &segmentItem, unsigned int segmentNumber)
Add the contents of a segment item to dcmTree according.
ML_MLToDicomTools_EXPORT std::string appendGeneralImageModuleTags(DCMTree::TreePtr resultTree, const std::string &instanceNumber, const std::string &patientOrientation, const std::string &contentDate, const std::string &contentTime, const bool addPatientOrientation=true)
Appends required DICOM tags to resultTree according to DICOM standard, C.7.6.1, General Image Module ...
ML_MLToDicomTools_EXPORT std::string appendSegmentSequenceTags(DCMTree::TreePtr dcmTree, const DicomSegmentItemVector &segmentSequenceItems)
Add all segment items of segmentSequence as SegmentSequence tag to dcmTree by using addSegmentItem.
ML_MLToDicomTools_EXPORT std::string appendSegmentationSeriesModuleAttributesTags(DCMTree::TreePtr dcmTree, MLint seriesNumber)
Add tags described in DICOM Standard, C.8.20.1: Segmentation Series Module Attributes to dcmTree.
std::vector< DicomSegmentItem > DicomSegmentItemVector
Type describing a sequence of SegmentItems similar to its description in the DICOM standard under SEG...