data_viewer_luts#
- class HighLowLUT(*, view_box: ViewBox, base_item: ImageItem, hist_item: HistogramLUTItem, low: float, high: float, dtype_min: int, dtype_max: int, n_pts: str = 'max', low_color: tuple[int] = (0, 0, 255, 255), high_color: tuple[int, int, int, int] = (255, 0, 0, 255))[source]#
Bases:
QObjectAdds a 2nd ImageItem on top of an existing one. The overlay keeps its own (fixed) 0‑to‑dtype range, so two absolute thresholds never move when the user changes the greyscale levels of the underlying slice.
- class LUT(image=None, color='red', percentiles=[[-100, 0, 50], [50, 75, 100]], parent=None, *args)[source]#
Bases:
QWidget