Commit f3b7c7ce authored by remi cresson's avatar remi cresson
Browse files

FIX: enforce ITK4.13 positive spacing

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -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
......
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