comparison OrthancFramework/Sources/DicomParsing/Internals/DicomFrameIndex.cpp @ 4475:a24d2126efd2

fix integration test test_frames_transcoding of DICOMweb plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 26 Jan 2021 17:57:09 +0100
parents d9473bd5ed43
children 7053502fbf97
comparison
equal deleted inserted replaced
4474:f8c1d94363b6 4475:a24d2126efd2
375 FromDcmtkBridge::ExtractDicomSummary(tags, dicom, DicomImageInformation::GetUsefulTagLength(), ignoreTagLength); 375 FromDcmtkBridge::ExtractDicomSummary(tags, dicom, DicomImageInformation::GetUsefulTagLength(), ignoreTagLength);
376 376
377 DicomImageInformation information(tags); 377 DicomImageInformation information(tags);
378 378
379 // Test whether this image is composed of a sequence of fragments 379 // Test whether this image is composed of a sequence of fragments
380 if (dicom.tagExistsWithValue(DCM_PixelData)) 380 if (dicom.tagExists(DCM_PixelData))
381 { 381 {
382 DcmPixelSequence* pixelSequence = FromDcmtkBridge::GetPixelSequence(dicom); 382 DcmPixelSequence* pixelSequence = FromDcmtkBridge::GetPixelSequence(dicom);
383 if (pixelSequence != NULL) 383 if (pixelSequence != NULL)
384 { 384 {
385 index_.reset(new FragmentIndex(pixelSequence, countFrames_)); 385 index_.reset(new FragmentIndex(pixelSequence, countFrames_));