[Gate-users] Fixed Forced Detection Actor

Triltsch, Nicolas nicolas.triltsch at tum.de
Tue Nov 29 14:06:34 CET 2016

Hey Simon,

I followed your two changes 1) and 3) and after that I compiled Gate 
again, in order to make the changes valid. But now I get an error 
message when compiling gate_v7.2, which says:


/make[2]: *** No rule to make target 
needed by 'Gate'.  Stop.//
//make[2]: *** Waiting for unfinished jobs....//
//[100%] Building CXX object 
//CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Gate.dir/all' 
//make[1]: *** [CMakeFiles/Gate.dir/all] Error 2//
//Makefile:127: recipe for target 'all' failed//
//make: *** [all] Error 2/


Honestly, I have no idea what to do. I think it has something to do with 
the ITK package, but I don't know why. If you have an idea that would be 
great, as my Gate is not running any more:/ If I type 'Gate' in the 
terminal, it says now:


/Gate: error while loading shared libraries: libITKIOBMP-4.10.so.1: 
cannot open shared object file: No such file or directory/


Thanks in advance!


On 11/28/2016 03:57 PM, Simon Rit wrote:
> Hi,
> On Mon, Nov 28, 2016 at 2:00 PM, Triltsch, Nicolas 
> <nicolas.triltsch at tum.de <mailto:nicolas.triltsch at tum.de>> wrote:
>     Hey everyone,
>     I have three questions concerning the fixed forced detection
>     actor(ffda):
>     1) As output one can generate e.g. primary.mha, compton.mha,
>     rayleigh.mha and total.mha images. In the GATE wiki it states,
>     that primary + compton + rayleigh = total. But if I compare the
>     two images they are different! Why? (total.mha image was flatfield
>     corrected by default; primary, compton and rayleigh weren't, so I
>     used the flatField.mha to correct them before the comparison with
>     total.mha)
>  I checked and there is a bug in the total filename. However, it does 
> not use the flat field but rather one step was forgotten (accounting 
> for the total number of particles in the simulation). I must admit 
> that I never use that output in practice, hence the bug. This fix 
> <https://github.com/OpenGATE/Gate/commit/988f886133ee741eeca692df027e7786e025c7bc> 
> should correct that.
>     2) For the ffda the source needs to be focused. Why is that necessary?
> Because ffda uses RTK <http://openrtk.org/> for deterministic 
> computation and RTK is working for point sources.
>     3) One output image is called secondary.mha. First, I thought this
>     image would represent secondary scatter events. But in the GATE
>     wiki it says that secondary = compton + rayleigh. Is their a way
>     to obtain a secondary scatter (multiple scatter) image?
> It used to be possible but I think we have removed it to "minimize" 
> the number of options. You can try (but I don't guarantee it works) to 
> add a line in the code, e.g. around line 57 of 
> GateFixedForcedDetectionActor.cc:
> mPerOrderImagesBaseName="order";
> It will then create an image of the form 
> "orderRayleigh0004_order02.mha" for the second order of the rayleigh 
> projection number 4.
> Simon
>     I would appreciate any help!
>     Nico
>     _______________________________________________
>     Gate-users mailing list
>     Gate-users at lists.opengatecollaboration.org
>     <mailto:Gate-users at lists.opengatecollaboration.org>
>     http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>     <http://lists.opengatecollaboration.org/mailman/listinfo/gate-users>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20161129/e564d311/attachment.html>

More information about the Gate-users mailing list