bastula / dicompyler

Extensible radiation therapy research platform and viewer for DICOM and DICOM RT
http://www.dicompyler.com
263 stars 99 forks source link

Seeking help on how to translate label to dose #127

Closed goodsave closed 5 years ago

goodsave commented 5 years ago

Hello, bastula Excuse me. Would you please do me a favor? From dicompyler, I learned how to convert dose to label (i.e., DICOM coordinates to pixel coordinates). I wonder how to translate label to dose (i.e. pixel coordinates to DICOM coordinates)? It would be great if I could get your advice.

bastula commented 5 years ago

You should be able to just use the patient to pixel lookup table in reverse. That is what is done to show the mouse cursor readout when hovering in the 2D view.

goodsave commented 5 years ago

Your suggestion made me suddenly enlightened. I used to convert dose to dose line of label,so I naturally think about how to convert the dose line of label back to dose. This transformation seems difficult to achieve. Now I convert dose directly to the dose value label. Then it's easy to convert the dose value label to dose. We are now doing AI dose generation. Your suggestion is very useful to us,Thank you again.

bastula commented 5 years ago

That is great to hear! Please share your finished product or any screenshots when you have a chance! I am sure others would love to see your work or product too 😄.