X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkConeBeamProjectImageFilter.txx;h=b4dba6d1f90c7fb2ce96f73f453cfcc00147af9f;hb=60860543f8bc3c1990610fd40cf6500402300c2b;hp=9a103e64cafa71c71481ed7741713fb111456cd7;hpb=edd658a40af1c6c53860e8d0ca04372e17e803b8;p=clitk.git diff --git a/tools/clitkConeBeamProjectImageFilter.txx b/tools/clitkConeBeamProjectImageFilter.txx index 9a103e6..b4dba6d 100755 --- a/tools/clitkConeBeamProjectImageFilter.txx +++ b/tools/clitkConeBeamProjectImageFilter.txx @@ -169,6 +169,7 @@ namespace clitk // JV -1 seems to correspond better with shearwarp of Simon Rit typename InterpolatorType::InputPointType originOutput; originOutput[0] = m_IsoCenter[0]- (m_SourceToScreen - m_SourceToAxis); + DD(m_PanelShift); originOutput[1] = m_IsoCenter[1]-static_cast(sizeOuput[1]-1)*spacingOutput[1]/2.0 - m_PanelShift; originOutput[2] = m_IsoCenter[2]-static_cast(sizeOuput[2]-1)*spacingOutput[2]/2.0; m_Resampler->SetOutputOrigin( originOutput );