Commit de2c2b11 authored by Cresson Remi's avatar Cresson Remi

ENH: sampler preserve physical spacing in output patches

parent 9dfd7ce3
......@@ -145,6 +145,7 @@ TensorflowSampler<TInputImage, TVectorData>
{
ImagePointerType newImage;
AllocateImage(newImage, m_PatchSizes[i], nTotal, GetInput(i)->GetNumberOfComponentsPerPixel());
newImage->SetSignedSpacing(this->GetInput(i)->GetSignedSpacing());
m_OutputPatchImages.push_back(newImage);
}
......
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