Mercurial > hg > orthanc
comparison Core/DicomParsing/Internals/DicomFrameIndex.h @ 3745:113a7b994a12
extracting the raw frame in the transcoder
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Mar 2020 21:48:35 +0100 |
parents | 2a170a8f1faf |
children |
comparison
equal
deleted
inserted
replaced
3744:accf1b60b108 | 3745:113a7b994a12 |
---|---|
65 | 65 |
66 std::unique_ptr<IIndex> index_; | 66 std::unique_ptr<IIndex> index_; |
67 unsigned int countFrames_; | 67 unsigned int countFrames_; |
68 | 68 |
69 public: | 69 public: |
70 DicomFrameIndex(DcmFileFormat& dicom); | 70 DicomFrameIndex(DcmDataset& dicom); |
71 | 71 |
72 unsigned int GetFramesCount() const | 72 unsigned int GetFramesCount() const |
73 { | 73 { |
74 return countFrames_; | 74 return countFrames_; |
75 } | 75 } |
76 | 76 |
77 void GetRawFrame(std::string& frame, | 77 void GetRawFrame(std::string& frame, |
78 unsigned int index) const; | 78 unsigned int index) const; |
79 | 79 |
80 static bool IsVideo(DcmFileFormat& dicom); | 80 static unsigned int GetFramesCount(DcmDataset& dicom); |
81 | |
82 static unsigned int GetFramesCount(DcmFileFormat& dicom); | |
83 }; | 81 }; |
84 } | 82 } |