Conversation
…nce directly instead of using members from device
|
Thanks for the attention to this! However, this is the |
|
Thank you for making the wonderful tool that is DeepDRR ! I'll let you know if I come across a feature I'd like to add to deepdrr ! |
Projector couldn't actually be used without specifying device as several parts of the code relied on device for sensor dimensions and source to detector distance.
Instead, Projector now use its methods source_to_detector_distance and sensor_width, sensor_height, which default to device if device is set.
Also fix a wrong variable name for the logger in image_utils.py