[Rtk-users] DRR image generation from 3D CT

Simon Rit simon.rit at creatis.insa-lyon.fr
Tue Apr 21 11:45:15 EDT 2020


Projection is centered on point (0,0,0) mm in your input
(PhaseImage_01.mha) (as described in the doc). Check where this point is in
your input. If it's outside, then you need to modify its origin (in the ITK
sense, check ITK doc).

On Tue, Apr 21, 2020 at 5:36 PM Isuru Suranga Wijesinghe <
isurusuranga.wijesinghe at gmail.com> wrote:

> Hi,
>
> I have built rtkforwardprojections code. And pass the appropriate
> parameters to the generated exe from the command line as below.
> But there is nothing in the output location. I have attached herewith my
> geomtry.xml as well.
>
> D:/RTK/Build/bin/Release>rtkforwardprojections -g D:/geomtry.xml -i
> D:\\Subject_01\\CT\\PhaseImage_01.mha -o D:/_rtk_output.png
>
> On Mon, Apr 20, 2020 at 8:45 PM Simon Rit <simon.rit at creatis.insa-lyon.fr>
> wrote:
>
>> Hi,
>> Look at the doc on the geometry file
>> <http://www.openrtk.org/Doxygen/DocGeo3D.html> and rtksimulatedgeometry
>> <https://github.com/SimonRit/RTK/tree/master/applications/rtksimulatedgeometry>
>> for creating one file. AddProjection
>> <http://www.openrtk.org/Doxygen/classrtk_1_1ThreeDCircularProjectionGeometry.html#a39d6a67147cac1f2b5d75f5958a48f9a>
>> takes several parameters. Given your scheme, it should look like
>> AddProjection(1000, 1536, angle, +/-190 etc)
>> It looks like an Elekta geometry given the distances, check the example
>> here
>> <http://wiki.openrtk.org/index.php/RTK/Examples/ElektaReconstruction> if
>> you can get access to the database.
>> Simon
>>
>> On Mon, Apr 20, 2020 at 9:31 PM Isuru Suranga Wijesinghe <
>> isurusuranga.wijesinghe at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm currently looking rtkforwardprojections example [1] to generate DRR
>>> images from 3D-CT volumes. My question is  how can I set custom geometric
>>> configurations as in the sample attached image ?
>>>
>>> Can you please help with a relevant example of this. ?
>>>
>>> [1]
>>> https://github.com/SimonRit/RTK/blob/b32cffdc6f9d7a432c50023c370ed996a7985b69/applications/rtkforwardprojections/rtkforwardprojections.cxx
>>>
>>> Thanks and Best Regards,
>>> Isuru
>>> _______________________________________________
>>> 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/20200421/8bead471/attachment-0001.html>


More information about the Rtk-users mailing list