-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Description
The Projector class takes the CameraIntrinsicTransform as an argument during construction, which it uses to derive the desired detector resolution.
Later, it is also implicitly used as the intrinsic component of a CameraProjection, when a C-Arm helper class is provided to describe the trajectory. If another approach of projection (without the CArm helper class) is used, then it never used again.
It would be more explicit to instantiate the Projector with a sensor_size parameter, which is used to set the output image size and then explicitly pass the intrinsic to the projection method used with the CArm.
Something like this:
Projector(..., sensor_size = (976, 976))
...
projector.project_over_carm_range(
(min_phi, max_phi, spacing_phi),
(min_theta, max_theta, spacing_theta)
camera_intrinsic)Metadata
Metadata
Assignees
Labels
No labels