comparison OrthancFramework/Sources/DicomFormat/DicomImageInformation.h @ 4138:1a26daefc3fe

DicomImageInformation::USEFUL_TAG_LENGTH
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 06 Aug 2020 17:56:10 +0200
parents bf7b9edf6b81
children ab4d015af660
comparison
equal deleted inserted replaced
4137:6774605d4341 4138:1a26daefc3fe
28 28
29 namespace Orthanc 29 namespace Orthanc
30 { 30 {
31 class ORTHANC_PUBLIC DicomImageInformation 31 class ORTHANC_PUBLIC DicomImageInformation
32 { 32 {
33 public:
34 /**
35 * This constant gives a bound on the maximum tag length that is
36 * useful to class "DicomImageInformation", in order to avoid
37 * using too much memory when copying DICOM tags from "DcmDataset"
38 * to "DicomMap" using "ExtractDicomSummary()". The value 256
39 * corresponds to ORTHANC_MAXIMUM_TAG_LENGTH that was implicitly
40 * used in Orthanc <= 1.7.2.
41 **/
42 static const unsigned int USEFUL_TAG_LENGTH = 256;
43
33 private: 44 private:
34 unsigned int width_; 45 unsigned int width_;
35 unsigned int height_; 46 unsigned int height_;
36 unsigned int samplesPerPixel_; 47 unsigned int samplesPerPixel_;
37 uint32_t numberOfFrames_; 48 uint32_t numberOfFrames_;