Commit e22de7db authored by Gaetano Raffaele's avatar Gaetano Raffaele
parents c72e8f4f f3b7c7ce
...@@ -234,7 +234,7 @@ private: ...@@ -234,7 +234,7 @@ private:
labelImageSource->SetGraph(controller->GetOutputGraph()); labelImageSource->SetGraph(controller->GetOutputGraph());
labelImageSource->SetOutputSize(inputImage->GetLargestPossibleRegion().GetSize()); labelImageSource->SetOutputSize(inputImage->GetLargestPossibleRegion().GetSize());
labelImageSource->SetOutputOrigin(inputImage->GetOrigin()); labelImageSource->SetOutputOrigin(inputImage->GetOrigin());
labelImageSource->SetOutputSpacing(inputImage->GetSpacing()); labelImageSource->SetOutputSpacing(inputImage->GetSignedSpacing());
labelImageSource->SetOutputProjectionRef(inputImage->GetProjectionRef()); labelImageSource->SetOutputProjectionRef(inputImage->GetProjectionRef());
labelImageSource->GenerateOutputInformation(); labelImageSource->GenerateOutputInformation();
...@@ -246,7 +246,7 @@ private: ...@@ -246,7 +246,7 @@ private:
if (dynamic_cast<OutputImageParameter*>(GetParameterByKey("out"))) if (dynamic_cast<OutputImageParameter*>(GetParameterByKey("out")))
{ {
OutputImageParameter* paramDown = dynamic_cast<OutputImageParameter*>(GetParameterByKey("out")); OutputImageParameter* paramDown = dynamic_cast<OutputImageParameter*>(GetParameterByKey("out"));
paramDown->SetRAMValue(256); paramDown->SetRAMValue(1024);
} }
// Get temporary files list // Get temporary files list
......
Markdown is supported
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