Pixel operations
Photometric interpretation fix
Correct an inverted or mislabeled photometric interpretation.
Problem
A DICOM image has a wrong or missing Photometric Interpretation tag (0028,0004) — e.g. it says RGB but the pixel data is actually grayscale, or it says MONOCHROME1 (minimum is white) when it should be MONOCHROME2 (minimum is black). This causes images to display inverted or with wrong colors in the PACS viewer.
Steps
-
When applying the Bake W/L pixel operation, the output is automatically set to
MONOCHROME2— verified by the e2e tests. -
For manual correction, open the file (⌘O), switch to Edit mode (⌘3), filter for
(0028,0004), double-click, and enter the correct photometric interpretation code.
Expected Result
- The Bake W/L transform outputs
MONOCHROME2photometric interpretation. - Manual edits to Photometric Interpretation are validated against the CS VR.