--
-- You received this message because you are subscribed to the Google Groups dicompyler group. To post to this group, send email to dicom...@googlegroups.com. To unsubscribe from this group, send email to dicompyler+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/dicompyler?hl=en
---
You received this message because you are subscribed to the Google Groups "dicompyler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dicompyler+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Zachary,dicompyler just looks for the same slice position as the CT image and renders the dose grid at that same position. Remember this has to be done in the patient coordinate space. You are probably working in the array coordinate space, so the image grid and dose grid won't have the same index.See https://github.com/bastula/dicompyler/blob/master/dicompyler/baseplugins/2dview.py#L448 and https://github.com/bastula/dicompyler/blob/master/dicompyler/dicomparser.py#L502for more information.Could you project be written using dicompyler-core as a library? It includes the dicomparser module which includes the functionality you need.An other option is to write a plugin for dicompyler and add any additional info as an overlay.Hope that helps,Adit
On Wed, Sep 6, 2017 at 9:43 AM, Z Cart. <zcart...@gmail.com> wrote:
Hello,I'm currently an MS student in Medical Physics and I have a great need to be able to overlay an isodose distribution from an RTDOSE file onto a CT image from a .dcm file set.I've managed to extract the image and the dose pixel arrays myself using pydicom and dicom_numpy, but the two arrays are not the same size! So, if I overlay the two together, the dose will not be in the correct position based on what the Elekta Gamma Plan software exported it as.I've played around with dicompyler and it obviously is able to do this even though the arrays are not the same size. However, I think I cannot export the numerical data when using dicompyler...I can only scroll through and view it as an image. What section of the code has the algorithm for overlaying the RTDOSE to an image?Thank you
--
-- You received this message because you are subscribed to the Google Groups dicompyler group. To post to this group, send email to dicom...@googlegroups.com. To unsubscribe from this group, send email to dicompyler+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/dicompyler?hl=en
---
You received this message because you are subscribed to the Google Groups "dicompyler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dicompyler+...@googlegroups.com.
--
-- You received this message because you are subscribed to the Google Groups dicompyler group. To post to this group, send email to dicom...@googlegroups.com. To unsubscribe from this group, send email to dicompyler+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/dicompyler?hl=en
---
You received this message because you are subscribed to the Google Groups "dicompyler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dicompyler+unsubscribe@googlegroups.com.