AustralianCancerDataNetwork / pydicer

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

Resampling in compute_radiomics #166

Open rbrown333 opened 1 month ago

rbrown333 commented 1 month ago

In the 'pydicer/pydicer/analyse/data.py', I think line 436 and 437 are not meant to be there as they are in the next loop to resample the mask to the image. Also having these lines messes with the actual resampling of an image as it resets the resample spacing to be whatever the image already is rather than what you specify in your settings. Sorry, I cannot work out how to create a pull request due being unable clone the repository on a computer that would allow pull requesting.

dalmouiee commented 2 weeks ago

Thanks @rbrown333, I'll have a look and test this out locally! You're also more than welcome to fork and make a pull request from that forked repo too :)