Good Evening Simon, Thank you, I changed InputPixelType to Float and everything worked.
Henry On Tue, Apr 7, 2020 at 4:56 PM Simon Rit <simon....@creatis.insa-lyon.fr> wrote: > Hi, > There can be two reasons: > - you are working with unsigned short as input and output. This is tricky > because you must be sure that your pixel values will cover the range > between 0 and 255. For example, if your phantom has values between 0 and 1, > conversion to unsigned short will blank it. I would start with float pixel > type at first to be sure that this is not the problem. You can use tif > instead of png since it supports float. > - the geometry must be such that your source and detector rotate around > your image. The center of rotation is the point (0,0,0) (in distance unit). > Check that this point is indeed in your input target.mhd image. There is a > documentation for the geometry here > <http://www.openrtk.org/Doxygen/DocGeo3D.html>. > If you don't succeed, please provide the target.mhd (without raw) and we > can check what's going on. > Simon > > On Tue, Apr 7, 2020 at 8:43 PM Henry Cope <henrydavisc...@gmail.com> > wrote: > >> Hello, >> >> I'm working on a project to turn a 3D CT scan into a 2D DRR. I'm starting >> with the rtk forward projection, and then adding things like simulated >> geometry and a slice extraction filter to it. Currently, all I get as my >> DRR output is a black PNG. I'm not sure where I'm going wrong. >> >> >> _______________________________________________ >> Rtk-users mailing list >> Rtk-users@public.kitware.com >> https://public.kitware.com/mailman/listinfo/rtk-users >> >
_______________________________________________ Rtk-users mailing list Rtk-users@public.kitware.com https://public.kitware.com/mailman/listinfo/rtk-users