From 07aa5513f39a82cf36cd7969948212dadab60190 Mon Sep 17 00:00:00 2001 From: Nic Ma Date: Fri, 19 Nov 2021 12:18:01 +0800 Subject: [PATCH] [DLMED] update according to comments Signed-off-by: Nic Ma --- monai/visualize/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monai/visualize/utils.py b/monai/visualize/utils.py index 1fbff63784..60fde75cde 100644 --- a/monai/visualize/utils.py +++ b/monai/visualize/utils.py @@ -139,11 +139,11 @@ def blend_images( Args: image: the input image to blend with label data. label: the input label to blend with image data. - alpha: when blending image and label, `alpha` is weight for the image region mapping to `label != 0`, - and `1 - alpha` is weight for the label region that `label != 0`. + alpha: when blending image and label, `alpha` is the weight for the image region mapping to `label != 0`, + and `1 - alpha` is the weight for the label region that `label != 0`. cmap: specify colormap in the matplotlib, for more details, please refer to: https://matplotlib.org/2.0.2/users/colormaps.html. - rescale_arrays: whether to rescale the array to [0, 1] first. + rescale_arrays: whether to rescale the array to [0, 1] first, default to `True`. """