Commit 10408a61 authored by Jim Miller's avatar Jim Miller
Browse files

FIX: DICOM pixel size was not passed to the output vtkImage

parent 01fa0f4a
......@@ -29,7 +29,7 @@
#include <vtkstd/vector>
#include <vtkstd/string>
vtkCxxRevisionMacro(vtkDICOMImageReader, "1.18");
vtkCxxRevisionMacro(vtkDICOMImageReader, "1.18.2.1");
vtkStandardNewMacro(vtkDICOMImageReader);
class vtkDICOMImageReaderVector : public vtkstd::vector<vtkstd::string>
......@@ -360,6 +360,8 @@ void vtkDICOMImageReader::SetupOutputInformation(int num_slices)
}
this->SetNumberOfScalarComponents(num_comp);
this->GetPixelSpacing();
this->vtkImageReader2::ExecuteInformation();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment