// Add *all the files* to the SerieHelper
sh = GDCM_NAME_SPACE::SerieHelper::New();
std::vector<std::string> gii = bbGetInputIn();
// Add *all the files* to the SerieHelper
sh = GDCM_NAME_SPACE::SerieHelper::New();
std::vector<std::string> gii = bbGetInputIn();
-
- std::vector<double> v_pixelspacing;
- v_pixelspacing.push_back( f->GetXSpacing() );
- v_pixelspacing.push_back( f->GetYSpacing() );
- v_pixelspacing.push_back( zspacing );
-// if (f->GetZSize() != 1) {
-// v_pixelspacing.push_back(f->GetZSpacing());
-// }
- bbSetOutputPixelSpacing(v_pixelspacing);
-
-
-
- if (reader!=NULL)
- {
- reader->Delete();
- reader=NULL;
- }
- reader = vtkGdcmReader::New();
+ std::vector<double> v_pixelspacing;
+ v_pixelspacing.push_back( f->GetXSpacing() );
+ v_pixelspacing.push_back( f->GetYSpacing() );
+ v_pixelspacing.push_back( zspacing );
+// if (f->GetZSize() != 1) {
+// v_pixelspacing.push_back(f->GetZSpacing());
+// }
+ bbSetOutputPixelSpacing(v_pixelspacing);
+
+ if (reader!=NULL)
+ {
+ reader->Delete();
+ reader=NULL;
+ }
+ reader = vtkGdcmReader::New();