comparison Framework/Outputs/MultiframeDicomWriter.h @ 220:7ffcce8ec94c

Fix issue #145 (support of Concatenation UID)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 12 Jan 2021 18:32:30 +0100
parents 1e864138f0da
children 49f647ed1b4c
comparison
equal deleted inserted replaced
219:ef3f8c5126a4 220:7ffcce8ec94c
52 std::unique_ptr<DcmSequenceOfItems> perFrameFunctionalGroups_; 52 std::unique_ptr<DcmSequenceOfItems> perFrameFunctionalGroups_;
53 std::unique_ptr<DcmPixelSequence> compressedPixelSequence_; 53 std::unique_ptr<DcmPixelSequence> compressedPixelSequence_;
54 DcmPixelItem* offsetTable_; 54 DcmPixelItem* offsetTable_;
55 std::unique_ptr<DcmOffsetList> offsetList_; 55 std::unique_ptr<DcmOffsetList> offsetList_;
56 56
57 bool isConcatenation_;
58 unsigned int countInstances_;
59 unsigned int firstFrameInInstance_;
60
57 void ResetImage(); 61 void ResetImage();
58 62
59 void InjectUncompressedPixelData(DcmFileFormat& dicom); 63 void InjectUncompressedPixelData(DcmFileFormat& dicom);
60 64
61 public: 65 public:
64 Orthanc::PixelFormat pixelFormat, 68 Orthanc::PixelFormat pixelFormat,
65 unsigned int width, 69 unsigned int width,
66 unsigned int height, 70 unsigned int height,
67 unsigned int tileWidth, 71 unsigned int tileWidth,
68 unsigned int tileHeight, 72 unsigned int tileHeight,
69 Orthanc::PhotometricInterpretation photometric); 73 Orthanc::PhotometricInterpretation photometric,
74 bool isConcatenation);
70 75
71 void AddFrame(const std::string& frame, 76 void AddFrame(const std::string& frame,
72 DcmItem* functionalGroup); // This takes the ownership 77 DcmItem* functionalGroup); // This takes the ownership
73 78
74 void Flush(std::string& target, 79 void Flush(std::string& target,