Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 06d6cb72 authored by PATTE Cecile's avatar PATTE Cecile
Browse files

Need to instantiate before use, right?

parent 6d8ee342
No related branches found
No related tags found
1 merge request!1Need to instantiate before use, right?
......@@ -61,8 +61,8 @@ public:
reader->SetFileName(filename);
reader->Update();
image = reader->GetOutput();
// image = vtkSmartPointer<vtkImageData>::New(); // MG20180913: another way to instantiate object
image = reader->GetOutput();
static_scaling = getStaticScalingFactor(image->GetScalarTypeAsString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment