bjw34032 / oro.dicom

Manipulating DICOM Data in R
https://rigorousanalytics.blogspot.com
Other
1 stars 3 forks source link

Loading anonymised images #5

Open lukefarrow opened 1 year ago

lukefarrow commented 1 year ago

Hi,

Thanks for developing this package.

I'm trying to use readDICOM from the oro.dicom package in a Trusted Research Environment where the dicom images have been deidentified.

From running a debug it appears to be getting stuck on the DICOM metadata "DeidentificationMethodCodeSequence", where it raises Error in if (dic$code != SQ) { : the condition has length >1.

Is there a way to circumvent this problem, i.e. not loading this specific piece of metadata as part of the read process?

Many thanks.