[Rtk-users] 3D CT scan to 2D DRR

Henry Cope henrydaviscope at gmail.com
Tue Apr 7 17:29:58 EDT 2020


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.rit at 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 <henrydaviscope at 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 at public.kitware.com
>> https://public.kitware.com/mailman/listinfo/rtk-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20200407/71c8e02f/attachment.html>


More information about the Rtk-users mailing list