Open msrepo opened 1 year ago
Tasks
Understand these predefined hard-coded geometry
# Pre-defined hard coded geometry
src_det = 1020
iso_center = 400
det_size = 128
pix_spacing = 0.73 * 512 / det_size #0.194*1536 / det_size
step_size = 1.75
vol_size = CT_vol.shape[0]
norm_factor = (vol_size * vol_spacing / 2)
src = (src_det - iso_center) / norm_factor
det = -iso_center / norm_factor
pix_spacing = pix_spacing / norm_factor
step_size = step_size / norm_factor
Normalizing factor: normalizes the input volume such that it occupies the normalized physical space (-1,1)
Expected: Got: Using Camera Parameters:
Quick setup and run https://github.com/gaocong13/Projective-Spatial-Transformers