Skip to content
Snippets Groups Projects
Commit c5be5673 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

BUG : add transmission of direction to itkResampleImageFilter

parent bd80177d
No related branches found
No related tags found
No related merge requests found
......@@ -150,7 +150,8 @@ Resampler<TInputImage, TOutputImage>
resampler->SetInterpolator(interpolator);
resampler->SetOutputOrigin(this->GetInput()->GetOrigin());
resampler->SetSize(this->GetSize());
resampler->SetOutputSpacing(inputSpacing);
resampler->SetOutputSpacing( this->GetInput()->GetSpacing() );
resampler->SetOutputDirection( this->GetInput()->GetDirection() );
resampler->ReleaseDataFlagOn();
// Progress accumulator
......
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