linumpy.imaging.overlay#
RGB overlay generation and display utilities.
Functions#
|
Combine the two images into a single RGB image. |
|
Display two images as an RGB overlay for visual comparison. |
Module Contents#
- linumpy.imaging.overlay.get_overlay_as_rgb(img1, img2)[source]#
Combine the two images into a single RGB image.
- Parameters:
img1 (np.ndarray) – The first image.
img2 (np.ndarray) – The second image.
- Returns:
The overlay image.
- Return type:
np.ndarray
- linumpy.imaging.overlay.display_overlap(img1, img2, title=None, do_normalization=False)[source]#
Display two images as an RGB overlay for visual comparison.
- Parameters:
img1 (numpy.ndarray)
img2 (numpy.ndarray)
title (str | None)
do_normalization (bool)
- Return type:
None