return vv_image;
}
vtkImageData *image = vtkImageData::New();
- image->ShallowCopy(connector->GetOutput());
+ image->DeepCopy(connector->GetOutput());
vv_image->AddImage(image);
}
vv_image->SetTimeSpacing(input->GetSpacing()[Dim-1]);
return vv_image;
}
vtkImageData *image = vtkImageData::New();
- image->ShallowCopy(connector->GetOutput());
+ image->DeepCopy(connector->GetOutput());
vv_image->AddImage(image);
}
return vv_image;