I am trying to generate DRR of a CT using python code. I am also using Slicer to get an idea of the approximate idea of the transfer function.
I observered that just ther rendering part of my code (only the line renWin.Render()) takes about 4 seconds while the Slicer rendering seems almost instantaneous.
Am I missing something over here?
Please let me know any additional information that you need. I am not exactly sure what all is required to debug this.
temp.py (2.7 KB)