Closed howff closed 1 year ago
My preference would be to avoid adding anything directly to the DICOM metadata, for the reasons you've highlighted. Easiest to get us moving would likely be a single file containing all the rectangles for the cohort, but longer term we could look at generating sidecar files, either JSON or DIOCM (SR or segmentation as suggested by Clunie) which can be provided alongside the de-identified images.
This has been implemented in https://github.com/SMI/dicompixelanon/commit/882590bde46325f20758cc180f76d28129605ed6
dicom_pixel_anon.sh
writes rectangles.csv
containing columns filename,left,top,right,bottom,frame,overlay
See also https://git.ecdf.ed.ac.uk/SMI/service/-/issues/154
As part of the extraction pipeline researchers will require access to the list of rectangles that were redacted.
Possible options: