Skip to content

Commit 07aa551

Browse files
committed
[DLMED] update according to comments
Signed-off-by: Nic Ma <nma@nvidia.com>
1 parent 469ad7e commit 07aa551

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

monai/visualize/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,11 @@ def blend_images(
139139
Args:
140140
image: the input image to blend with label data.
141141
label: the input label to blend with image data.
142-
alpha: when blending image and label, `alpha` is weight for the image region mapping to `label != 0`,
143-
and `1 - alpha` is weight for the label region that `label != 0`.
142+
alpha: when blending image and label, `alpha` is the weight for the image region mapping to `label != 0`,
143+
and `1 - alpha` is the weight for the label region that `label != 0`.
144144
cmap: specify colormap in the matplotlib, for more details, please refer to:
145145
https://matplotlib.org/2.0.2/users/colormaps.html.
146-
rescale_arrays: whether to rescale the array to [0, 1] first.
146+
rescale_arrays: whether to rescale the array to [0, 1] first, default to `True`.
147147
148148
"""
149149

0 commit comments

Comments
 (0)