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 <[email protected]>
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 <
> [email protected]> 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
>> [email protected]
>> https://public.kitware.com/mailman/listinfo/rtk-users
>>
>
<?xml version="1.0"?>
<!DOCTYPE RTKGEOMETRY>
<RTKThreeDCircularGeometry version="3">
<SourceToIsocenterDistance>1000</SourceToIsocenterDistance>
<SourceToDetectorDistance>1536</SourceToDetectorDistance>
<ProjectionOffsetX>190</ProjectionOffsetX>
<Projection>
<GantryAngle>0</GantryAngle>
<Matrix>
-1536 0 -190 190000
0 -1536 0 0
0 0 1 -1000
</Matrix>
</Projection>
</RTKThreeDCircularGeometry>
_______________________________________________
Rtk-users mailing list
[email protected]
https://public.kitware.com/mailman/listinfo/rtk-users