Anonymization

Black-box redaction

Apply opaque black-box redaction over sensitive pixel regions.

Problem

You’ve identified sensitive pixel regions (either through OCR detection or manual inspection) and now you need to apply opaque black-box redaction over those areas.

Steps

Draw a Redaction Box

  1. Open your DICOM file (⌘O) and switch to Anon mode (Ctrl+3 / ⌘3 in the desktop app, Ctrl+Shift+A / ⌘⇧A in the browser).

  2. Activate the Redact tool. Click the black-box redaction tool in the toolbar.

  3. Draw a rectangle on the image. Click and drag on the image:

    • Move the pointer to the top-left of the area you want to redact
    • Press and hold the mouse button
    • Drag diagonally to the bottom-right of the area
    • Release to finalize the rectangle
  4. Verify the region is registered. The redaction regions counter updates to show (1). The bounding box is displayed as an overlay on the image.

  5. Export. Click Apply & Export to write the redacted DICOM file with black-filled regions. Export DICOM Changes (⌘E), Export with Integrity Manifest… and DICOMDIR Media Set fill in the boxes on each file they write too, without applying the profile. For a compressed file they refuse and write nothing until the series is decompressed.

Result

Drawing a rectangle registers one redaction region; dragging past the image edge clamps to its bounds, and a click without a drag is ignored, so the counter only reflects real boxes. Apply & Export writes a valid DICOM with those regions filled black and the surrounding clinical pixels preserved. The file’s Derivation Description records how many regions you placed and that other burned-in text was not checked, and Burned In Annotation stays as it was, so check the rest of the image yourself.

Grayscale, palette color, RGB and YBR_FULL images can be redacted, whether the color is stored pixel by pixel or plane by plane. Subsampled images such as YBR_FULL_422 share color between neighboring pixels, so no box can cover exactly one pixel: dcmage refuses the export and writes nothing. Decompress a compressed series first, as dcmage then stores it as RGB.