qurit/rt-utils

ValueError: could not broadcast input array from shape (512,512) into shape (156,105)

Suman-c21 opened this issue · 2 comments

I have this type of error too, did anyone found a way to solve it? Thanks!!

I had this issue as well, and in my case it's because the RTDose file was in the same parent folder as my CT and RTStruct files. My RTDose files have different dimensions than the CT scan, and for some reason rt-utils was grabbing the rows and columns from the dose rather than the CT. To fix this, I just removed my dose file from the parent folder.

Parent folder
--CT1
--CT2
--RD
--RS