else if (im.size()>1) // Test inutile ? JPR
{
/// \TODO fix unused variable 'first'
- vtkImageData* first = mReader.GetImage( im.front());
+// vtkImageData* first = mReader.GetImage( im.front());
if (dimension == 2)
{
// n3D
vtkImageData* out = vtkImageData::New();
out->ShallowCopy(mReader.GetImage(*it));
s.push_back(out);
- }
- }
- else
- {
+ } // for
+ } else {
// n2D to 3D // NO!
// n *2D + T in a vector :
{
vtkImageData* out = mReader.GetImage( (*it));
s.push_back(out);
- }
- }
- }
+ } // for
+ } // if dimension
+ } // if im.size
}
//======================================================================
// We need a gdcm::FileHelper, since we want to load the pixels
GDCM_NAME_SPACE::FileHelper *fh = GDCM_NAME_SPACE::FileHelper::New(file);
-
- uint8_t *imageData = fh->GetImageData();
+
+//Borrame
+//EED uint8_t *imageData = fh->GetImageData();
// Institution name
file->AddAnonymizeElement(0x0008, 0x0080, "*");