Skip to content
Snippets Groups Projects
Commit 27d06b1d authored by Julien Michel's avatar Julien Michel
Browse files

BUG: This is a temporary fix for the MetadataDictionary pipeline handling (cf....

BUG: This is a temporary fix for the MetadataDictionary pipeline handling (cf. itk mantis ticket 4625)
parent e9643871
Branches
Tags
No related merge requests found
...@@ -62,6 +62,10 @@ UnaryFunctorImageFilter<TInputImage,TOutputImage,TFunction> ...@@ -62,6 +62,10 @@ UnaryFunctorImageFilter<TInputImage,TOutputImage,TFunction>
return; return;
} }
// Copy information from input to output. If input and output are of
// different dimensions, Region information will not be copied.
outputPtr->CopyInformation(inputPtr);
// Set the output image largest possible region. Use a RegionCopier // Set the output image largest possible region. Use a RegionCopier
// so that the input and output images can be different dimensions. // so that the input and output images can be different dimensions.
OutputImageRegionType outputLargestPossibleRegion; OutputImageRegionType outputLargestPossibleRegion;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment