presidio
presidio copied to clipboard
Extend DicomImageRedactorEngine compatibility with more photometric interpretations
Describe the bug
The DicomImageRedactorEngine
class currently only supports greyscale (i.e., MONOCHROME1 and MONOCHROME2) and RGB photometric interpretations.
The class should be updated to ensure DICOM images of different photometric interpretations (e.g., YBR) can be used in the .redact*
calls.
Additional context
The DicomImageRedactorEngine
was developed using MONOCHROME1, MONOCHROME2, and RGB DICOM images. The class has not been tested on YBR variants.