@@ -84,7 +84,6 @@ namespace gdcm
8484
8585 void ProcessAIOP (Scanner const &, Directory::FilenamesType const &subset, const char *iopval)
8686 {
87- std::cout << " IOP: " << iopval << std::endl;
8887 IPPSorter ipp;
8988 ipp.SetComputeZSpacing (true );
9089 ipp.SetZSpacingTolerance (1e-3 ); // ??
@@ -103,7 +102,6 @@ namespace gdcm
103102 UnsortedFiles.push_back (subset);
104103 return ;
105104 }
106- ipp.Print (std::cout);
107105 SortedFiles.push_back (ipp.GetFilenames ());
108106 }
109107
@@ -120,7 +118,6 @@ namespace gdcm
120118 Directory::FilenamesType::const_iterator file = files.begin ();
121119 file != files.end (); ++file)
122120 {
123- // std::cout << *file << std::endl;
124121 const char *value = s.GetValue (file->c_str (), gdcm::t4);
125122 assert (value);
126123 iopset.insert (value);
@@ -132,7 +129,6 @@ namespace gdcm
132129 return ;
133130 }
134131
135- std::cout << " Frame of Ref: " << frameuid << std::endl;
136132 if (n == 1 )
137133 {
138134 ProcessAIOP (s, files, iopset.begin ()->c_str ());
@@ -183,7 +179,6 @@ namespace gdcm
183179
184180 void ProcessASeries (Scanner const &s, const char *seriesuid)
185181 {
186- std::cout << " Series: " << seriesuid << std::endl;
187182 // let's find all files belonging to this series:
188183 Directory::FilenamesType seriesfiles = GetAllFilenamesFromTagToValue (
189184 s, s.GetFilenames (), t2, seriesuid);
@@ -198,8 +193,7 @@ namespace gdcm
198193
199194 void ProcessAStudy (Scanner const &s, const char *studyuid)
200195 {
201- std::cout << " Study: " << studyuid << std::endl;
202- gdcm::Scanner::ValuesType vt2 = s.GetValues (t2);
196+ dcm::Scanner::ValuesType vt2 = s.GetValues (t2);
203197 for (
204198 gdcm::Scanner::ValuesType::const_iterator it = vt2.begin (); it != vt2.end (); ++it)
205199 {
0 commit comments