Mercurial > hg > orthanc
comparison OrthancServer/Internals/DicomImageDecoder.cpp @ 2131:bb199bccdc45
reorganization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Nov 2016 10:49:45 +0100 |
parents | b9bd52c72ba2 |
children | dd609a99d39a |
comparison
equal
deleted
inserted
replaced
2130:72cb107a7346 | 2131:bb199bccdc45 |
---|---|
248 slowAccessor_.reset(NULL); | 248 slowAccessor_.reset(NULL); |
249 | 249 |
250 // See also: http://support.dcmtk.org/wiki/dcmtk/howto/accessing-compressed-data | 250 // See also: http://support.dcmtk.org/wiki/dcmtk/howto/accessing-compressed-data |
251 | 251 |
252 DicomMap m; | 252 DicomMap m; |
253 FromDcmtkBridge::ExtractDicomSummary(m, dataset); | 253 Configuration::ExtractDicomSummary(m, dataset); |
254 | 254 |
255 /** | 255 /** |
256 * Create an accessor to the raw values of the DICOM image. | 256 * Create an accessor to the raw values of the DICOM image. |
257 **/ | 257 **/ |
258 | 258 |
320 | 320 |
321 ImageAccessor* DicomImageDecoder::CreateImage(DcmDataset& dataset, | 321 ImageAccessor* DicomImageDecoder::CreateImage(DcmDataset& dataset, |
322 bool ignorePhotometricInterpretation) | 322 bool ignorePhotometricInterpretation) |
323 { | 323 { |
324 DicomMap m; | 324 DicomMap m; |
325 FromDcmtkBridge::ExtractDicomSummary(m, dataset); | 325 Configuration::ExtractDicomSummary(m, dataset); |
326 | 326 |
327 DicomImageInformation info(m); | 327 DicomImageInformation info(m); |
328 PixelFormat format; | 328 PixelFormat format; |
329 | 329 |
330 if (!info.ExtractPixelFormat(format, ignorePhotometricInterpretation)) | 330 if (!info.ExtractPixelFormat(format, ignorePhotometricInterpretation)) |