Hi, Please keep the mailing list in the loop. Are the distances in pixel units? If not, you need to set the spacing of the projections according to the pixel spacing of your projections. Simon
On Wed, Jun 19, 2024 at 8:56 AM yx deng <yxd15227813...@gmail.com> wrote: > Hi,Simon > I had red the doc of *RTK 3D circular projection geometry* carefully, > GantryAngle is the rotation around y, and the code of setting geometry > as follows: > using GeometryType = rtk::ThreeDCircularProjectionGeometry; > GeometryType::Pointer geometry = GeometryType::New(); > unsigned int numberOfProjections = 1201; > double firstAngle = 0; > double angularArc = 360; > unsigned int sid = 66.;// source to isocenter distance > unsigned int sdd = 199.; // source to detector distance > for (unsigned int noProj = 0; noProj < numberOfProjections; noProj++) > { > > double angle = firstAngle + noProj * angularArc / numberOfProjections; > double ProjOffsetX = 0.; > double ProjOffsetY = 0.; > double OutoffPlanAngle = 0; > double InPlanAngle = 0; > double SourceOffSetX = 0.; > double SourceOffSetY = 0.; > geometry->AddProjection( > sid, sdd, angle, ProjOffsetX, ProjOffsetY, OutoffPlanAngle, > InPlanAngle, SourceOffSetX, SourceOffSetY); > } > I also tried to change the value of OutoffPlanAngle and InPlanAngle, > but it didn't work.Looking forward to your answer. > > Simon Rit <simon....@creatis.insa-lyon.fr> 于2024年6月18日周二 20:24写道: > >> Hi, >> It seems to be a geometry problem. I would suggest to check if your >> geometry object is adequately set, see doc here >> <http://www.openrtk.org/Doxygen/DocGeo3D.html>. >> Simon >> >> On Tue, Jun 18, 2024 at 1:32 PM yx deng <yxd15227813...@gmail.com> wrote: >> >>> *Hi Simon,* >>> >>> *I'm a image processing engineer doing project in image** reconstruction >>> using rtk.I met a question that the shape of the region corresponding to >>> the reconstructed target changes from a rectangle to a diamond in the slice. >>> As the pictures show:The result should be a circle, not a diamond.Please >>> give me some advices to correct the reconstruction ,thanks a lot. >>> * >>> >>> [image: 企业微信截图_1718708067845.png] [image: 企业微信截图_17187080755468.png] [image: >>> 企业微信截图_17187080843559.png] >>> >>> the projection images'size is 972*768*1200, >>> origin is (-485.5,-383.5,0),spacing is (1.0,1.0,1.0) >>> >>> the volume's size is 768*768*128 >>> >>> origin is (-383.5,-383.5,-63.5), >>> >>> spacing is (1.0,1.0,1.0). >>> >>> the class of CudaFDKConeBeamReconstructionFilter was applied. >>> >>> >>> >>> >>>
_______________________________________________ Rtk-users mailing list rtk-us...@openrtk.org https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users