Pixel operations
Crop, resample, flip, rotate, or bake W/L into a derived copy.
Applies a geometry or intensity transform directly to the decoded pixel data and writes the result as a derived copy with a freshly minted SOPInstanceUID, preserving the original instance.
The transform applies to the image on screen, and the modal names that file. If you scrolled away from the instance selected in the tree, the tree moves to the rewritten file and the view stays on it.
The derived copy is marked DERIVED and SECONDARY in Image Type, and Derivation Description gains a line naming the transform. Every transform drops the file’s icon thumbnail (Icon Image Sequence), which shows the image as it was, and takes off the measurements drawn on the image, which describe the old pixels; undo brings them back. The audit log names both. Redaction boxes on the image move with its pixels; a box on pixels a crop removes is removed.
- Crop: extract a rectangular ROI; shifts Image Position (Patient) so spatial coordinates stay correct. Overlay planes and ultrasound regions are trimmed to the crop, and one left with nothing inside it is removed and named in the audit log.
- Resample: bilinear resize to a new matrix; rescales Pixel Spacing inversely. Overlay planes take the bit of the nearest source pixel, and ultrasound regions are rescaled so each pixel keeps its physical value.
- Bake W/L: collapse the windowed range into 8-bit MONOCHROME2 and strip rescale/VOI tags.
- Flip / Rotate: mirror or rotate 90° in-plane; rewrites Image Orientation (Patient) and Image Position (Patient) so the image stays placed in the patient, and a rotation swaps the Pixel Spacing values. Overlay planes and ultrasound regions move with the pixels.
Caution Pixel transforms are destructive to the derived copy. Bake W/L in particular discards dynamic range and is intended for publication exports only. Tip Single-frame instances only. Multi-frame and colour-windowing cases are guarded out.