AustralianCancerDataNetwork / pydicer

PYthon Dicom Image ConvertER
https://australiancancerdatanetwork.github.io/pydicer/
Apache License 2.0
20 stars 4 forks source link

Initial code to add generated data objects #104

Closed pchlap closed 2 years ago

pchlap commented 2 years ago

Hi @dalmouiee,

here is the initial code to enable a user of pydicer to generate their own data objects for the project. This addresses (or eventually will) issue #87.

So far a basic function adds a data object, and a function to specifically add a dose object is provided. Next up will be images and structures and making it easily accessible through the PyDicer class. It's already useable as is, I am using it to generate new dose objects which are scaled based on the EQD2 formula for Vicky C's project.

By having this step, other steps of the pipeline like visualisation, computing radiomics or computing DVHs is streamlined and ends up removing a lot of code from Jupyter notebooks to juggle this for each dataset/project. Let me know what you think! :)

Also tagging @fahimirfanalam in case he is interested in having a look :)