You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question regarding the pixel/voxel sizes used in the geometry generation.
I have generated some cone beam phantoms using the code below. However, the pixel and voxel sizes do not seem to match the generated projections and/or are not saved to the ASTRA geometries.
In the code below, the projection pixels are 2/512 units wide and the voxels are 1/512 voxels wide.
Judging from the obtained projection images, I expect that the cylinder is 512 projection pixels = 2 units wide. When I reconstruct, the cylinder fits perfectly in the reconstruction volume, which is 1 unit wide.
Indeed, it seems that the pixel size is not used in the utility functions that convert to ASTRA (see here). I think the issue here is that both pixel sizes are measuring something different -- on the phantom generation side, it measures the pixel size wrt the phantom, whereas on the astra side it measures the detector pixel size wrt volume voxel size. This is probably fixable, but I'm not sure what the best way will be. Can we set arbitrary volume voxel sizes in astra already? If so, we could make astra use the same coordinate system as the phantom and fix it in that way...
Hi,
I have a question regarding the pixel/voxel sizes used in the geometry generation.
I have generated some cone beam phantoms using the code below. However, the pixel and voxel sizes do not seem to match the generated projections and/or are not saved to the ASTRA geometries.
In the code below, the projection pixels are 2/512 units wide and the voxels are 1/512 voxels wide.
Judging from the obtained projection images, I expect that the cylinder is 512 projection pixels = 2 units wide. When I reconstruct, the cylinder fits perfectly in the reconstruction volume, which is 1 unit wide.
When I load in the astra geometries, both pixels and voxels are 1 unit wide.
The text was updated successfully, but these errors were encountered: