Commit 9e6bbd24 authored by Lozac'h Loic's avatar Lozac'h Loic
Browse files

removing metadata set and get

No related merge requests found
Showing with 6 additions and 4 deletions
+6 -4
......@@ -89,9 +89,11 @@ private:
defSpacing[0] *= 10;
defSpacing[1] *= 10;
m_Resampler->SetDisplacementFieldSpacing(defSpacing);
m_Resampler->SetInputImageMetadata(&(this->GetParameterFloatImage("inm")->GetImageMetadata()));
// m_Resampler->SetInputImageMetadata(&(this->GetParameterFloatImage("inm")->GetImageMetadata()));
m_Resampler->SetInputProjectionRef(this->GetParameterFloatImage("inm")->GetProjectionRef());
m_Resampler->SetOutputImageMetadata(&(this->GetParameterFloatImage("inr")->GetImageMetadata()));
// m_Resampler->SetOutputImageMetadata(&(this->GetParameterFloatImage("inr")->GetImageMetadata()));
m_Resampler->SetOutputProjectionRef(this->GetParameterFloatImage("inr")->GetProjectionRef());
m_Resampler->SetOutputOrigin(this->GetParameterFloatImage("inr")->GetOrigin());
m_Resampler->SetOutputSpacing(this->GetParameterFloatImage("inr")->GetSignedSpacing());
......
......@@ -89,9 +89,9 @@ private:
defSpacing[0] *= 10;
defSpacing[1] *= 10;
m_Resampler->SetDisplacementFieldSpacing(defSpacing);
m_Resampler->SetInputImageMetadata(&(this->GetParameterFloatImage("inm")->GetImageMetadata()));
// m_Resampler->SetInputImageMetadata(&(this->GetParameterFloatImage("inm")->GetImageMetadata()));
m_Resampler->SetInputProjectionRef(this->GetParameterFloatImage("inm")->GetProjectionRef());
m_Resampler->SetOutputImageMetadata(&(this->GetParameterFloatVectorImage("inr")->GetImageMetadata()));
// m_Resampler->SetOutputImageMetadata(&(this->GetParameterFloatVectorImage("inr")->GetImageMetadata()));
m_Resampler->SetOutputProjectionRef(this->GetParameterFloatVectorImage("inr")->GetProjectionRef());
m_Resampler->SetOutputOrigin(this->GetParameterFloatVectorImage("inr")->GetOrigin());
m_Resampler->SetOutputSpacing(this->GetParameterFloatVectorImage("inr")->GetSignedSpacing());
......
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