Closed RobinFrcd closed 1 year ago
@vsoch I think we're good :+1:
I do too! I'm in the middle of a work day so likely I'll do one final look, merge and release this evening. Stay tuned!
Snuck it in :) https://pypi.org/project/deid/0.2.34/ Thank you @RobinFrcd !
Description
The point of this PR is to add the possibility to work on PyDicom objects directly, in order to speed up the process. It indeed avoids reading the dicom file from disk twice.
Extracting the
clean_pixel_data
function out of theDicomCleaner
class also helps when we want to process multiple images in multiple processes without having to instance multipleDicomCleaner
times (which is slow because it needs to load the recipe from disk).Checklist