[Insight-users] All zero output with ResampleImageFilter (ITK 3.4)
Víctor Rodrigo Córdoba
vrcordoba at gmail.com
Fri Dec 12 11:59:03 EST 2008
Hi.
I've modified the code to solve the problem with modReader origin but
nothing changes, the output of Resample Filter is still all zeros.
This are the modifications that I introduced:
const FImageType::PointType& originMod =
modReader->GetOutput()->GetOrigin();
TransformType::OutputVectorType translation;
translation[0] = posY-originCA[0]-originMod[0];
translation[1] = posX-originCA[1]-originMod[1];
translation[2] = posZ-originCA[2]-originMod[2];
Thank you for your interest.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081212/d646d9dc/attachment.htm>
More information about the Insight-users
mailing list