changeset 267:fb689ed55c09

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Jul 2023 16:14:42 +0200
parents cf20f8417eaa
children a6e4834ac141
files Framework/Inputs/DicomPyramid.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Inputs/DicomPyramid.cpp	Fri Jul 07 17:41:41 2023 +0200
+++ b/Framework/Inputs/DicomPyramid.cpp	Mon Jul 10 16:14:42 2023 +0200
@@ -99,8 +99,8 @@
 
         // Don't consider the thumbnail and overview as part of the DICOM pyramid (new in 1.0)
         if (tokens.size() < 2 ||
-            (tokens[2] != "THUMBNAIL" &&
-             tokens[2] != "OVERVIEW"))
+            (tokens[1] != "THUMBNAIL" &&
+             tokens[1] != "OVERVIEW"))
         {
           instances_.push_back(instance.release());
         }