comparison OrthancServer/Internals/DicomImageDecoder.cpp @ 1929:cda5b0ab4ce5

ORTHANC_MAXIMUM_TAG_LENGTH made explicit
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Mar 2016 14:28:59 +0100
parents 84c7eaeb5244
children 1a5e070a21c3
comparison
equal deleted inserted replaced
1928:84c7eaeb5244 1929:cda5b0ab4ce5
240 slowAccessor_.reset(NULL); 240 slowAccessor_.reset(NULL);
241 241
242 // See also: http://support.dcmtk.org/wiki/dcmtk/howto/accessing-compressed-data 242 // See also: http://support.dcmtk.org/wiki/dcmtk/howto/accessing-compressed-data
243 243
244 DicomMap m; 244 DicomMap m;
245 FromDcmtkBridge::Convert(m, dataset, 245 FromDcmtkBridge::Convert(m, dataset, ORTHANC_MAXIMUM_TAG_LENGTH,
246 Configuration::GetDefaultEncoding()); 246 Configuration::GetDefaultEncoding());
247 247
248 /** 248 /**
249 * Create an accessor to the raw values of the DICOM image. 249 * Create an accessor to the raw values of the DICOM image.
250 **/ 250 **/
313 313
314 ImageAccessor* DicomImageDecoder::CreateImage(DcmDataset& dataset, 314 ImageAccessor* DicomImageDecoder::CreateImage(DcmDataset& dataset,
315 bool ignorePhotometricInterpretation) 315 bool ignorePhotometricInterpretation)
316 { 316 {
317 DicomMap m; 317 DicomMap m;
318 FromDcmtkBridge::Convert(m, dataset, 318 FromDcmtkBridge::Convert(m, dataset, ORTHANC_MAXIMUM_TAG_LENGTH,
319 Configuration::GetDefaultEncoding()); 319 Configuration::GetDefaultEncoding());
320 320
321 DicomImageInformation info(m); 321 DicomImageInformation info(m);
322 PixelFormat format; 322 PixelFormat format;
323 323