jrkerns / pylinac

An image analysis library for medical physics
https://pylinac.readthedocs.io/en/latest/
MIT License
157 stars 99 forks source link

correct Rows & Columns in image.save() #367

Closed jrkerns closed 1 year ago

jrkerns commented 3 years ago

Currently, saving an image back to dicom from a pylinac image will not correct the new rows and columns if they have changed. When re-importing this will lead to a pydicom size error as the pixel array and n Rows and n Columns do not match.

jrkerns commented 1 year ago

Fixed in https://github.com/jrkerns/pylinac/commit/af58b14949b7e7666ffbd35a5405e1520c4a88d3