--
-- 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.
sum_dcm.pixel_array = sum
sum_dcm.BitsAllocated = 32
sum_dcm.BitsStored = 32
sum_dcm.HighBit = 31
sum_dcm.PixelData = sum.tostring()
sum_dcm.DoseGridScaling = sum_scaling
Hi Priyanka,You can manually sum the dose grids and then re-create a new DICOM object which can be used by dicompylercore/dvhcalc.That is my current method.Aditya
On Tue, Oct 31, 2017 at 1:47 PM, <priya...@gmail.com> wrote:
HiI there a way to clalculate DVH if Dose Summation Type = MULTI_PLAN or BEAMSo 1 RT Struct file and 2 or more RT Dose file for instance.Dose Summation Type (3004,000A) data element specifies the scope (level of treatment plan hierarchy) of the dose represented in an RT Dose instance. The Dose Summation Type may be an entire RT Plan (PLAN), two or more RT Plans (MULTI_PLAN), a single fraction group (FRACTION), one or more Beams within an RT Plan (BEAM), one or more Brachy Application Setups within an RT Plan (BRACHY), or one or more Control Points within a Beam (CONTROL_POINT).
--
-- 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.
#DVH(cumulative, 303 bins: [0.0:3.0299999999999998] Gy, volume: 25.999999999999982 cm3, name: 'BRAINSTEM', rx_dose: 0 Gy)
#dicompylercore has vol = 26.0 , mean = 0.504, max= 3.02, min = 0.05
#Other application has vol = 25.918, mean=0.710, max=3.664, min = 0.0546
#DVH(cumulative, 4 bins: [0.0:0.040000000000000001] Gy, volume: 0.0 cm3, name: 'CHIASM', rx_dose: 0 Gy)
#Other application has vol = 0.3774, mean=0.0530, max= 0.0605, min = 0.044
calcdvh = dvhcalc.get_dvh(destinationfolder+"\\RTStruct.dcm", destinationfolder+"\\RTDose.dcm", 4)
print(calcdvh)
calcdvh = dvhcalc.get_dvh(destinationfolder+"\\RTStruct.dcm", destinationfolder+"\\RTDose.dcm", 7)
print(calcdvh)
print('end')
Please find the RTStruct and RTDose files for debugging
#BRAINSTEM=4
#CHIASM = 7
--
--
-- 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.