MeVisLab Toolbox Reference
mlMLToReferencedFrameOfReferenceSequence.h File Reference

Helper class converting CSOList and PagedImage to Referenced Frame Of Reference Sequence. More...

#include "MLDcmtkMLConvertersSystem.h"
#include "mlProgress.h"
#include <mlTypeDefs.h>
#include <DCMTree_Tree.h>
#include <set>
#include <string>
#include <boost/function.hpp>
#include <MLCSOIncludes.h>

Go to the source code of this file.

Classes

class  ml::MLToReferencedFrameOfReferenceSequence
 

Namespaces

namespace  ml
 Main documentation file for ML users and developers.
 

Detailed Description

Helper class converting CSOList and PagedImage to Referenced Frame Of Reference Sequence.

The following is set:

  • Referenced Frame Of Reference Sequence (3006,0010) is added. Sequence contains one item item0:
    • item0's Frame Of Reference UID (0020,0052) is set to input image's Frame of Reference UID.
    • RT Referenced Study Sequence (3006,0012) is added to the item0. Sequence contains one item item1:
      • item1's Referenced SOP Class UID (0008,1150) is set to 1.2.840.10008.3.1.2.3.2 (Study Component Management SOP Class (Retired)).
      • item1's Referenced SOP Instance UID (0008,1155) is set to input image's Study Instance UID (0020, 000D).
      • RT Referenced Series Sequence (3006,0014) is added to the item1. Sequence contains one item item2:
        • item2's Series Instance UID (0020,000E) is set to input image's Series Instance UID.
        • Contour Image Sequence (3006,0016) is added to the item2. For each input image's slice (*) an item3 is added:
          • item3's Referenced Frame Number (0008,1160) is set to 1.
          • item3's Referenced SOP Class UID (0008,1150) is set to input image's SOP Class UID (0008,0016).
          • item3's Referenced SOP Instance UID (0008,1155) is set to slice's SOP Instance UID (0008,0018).

(*) - When referenceAllImageSlices is false, then only image slices containing CSOs are considered.

Author
Grzegorz Chlebus
Date
2014-08-19

Definition in file mlMLToReferencedFrameOfReferenceSequence.h.