output of DigitizerProjectionActor #700
-
|
I’m using the I’ve looked at the example in However, the raw file output from the The image seems to be displayed as a grayscale image, so I’m wondering how that value is computed. Pls help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I'm no expert and don't have experience with the SPECT system setup, but here's my two cents: The
So, each voxel contains the sum of digi weights - which corresponds to the number of gamma events if no weighting is applied - for that pixel and projection interval. That’s just my understanding from reading the docs and source code and tinkering a bit - if anyone with more experience spots anything off, or has a more accurate explanation, I’d really appreciate any corrections or insights! |
Beta Was this translation helpful? Give feedback.
I'm no expert and don't have experience with the SPECT system setup, but here's my two cents:
The
DigitizerProjectionActorinternally manages data as follows:At the start of the simulation, it allocates one 3D float image, with shape
[Nx, Ny, Nslices]Nx,Ny-> set by thesizeparameter (e.g., 500×500).Nslices-> computed as nr. of input digitizer collections × nr. of timing intervals.DigitizerHitsCollectionActorand 180 timing intervals, you get 180 slices.During the simulation, for each hit (digi):
PostPositionis mapped onto 2D pixel indices, based on your chosenspacing,size, andorigin_as_image_centerparameters.