Skip to content

Commit

Permalink
[DLMED] update according to comments
Browse files Browse the repository at this point in the history
Signed-off-by: Nic Ma <nma@nvidia.com>
  • Loading branch information
Nic-Ma committed Nov 19, 2021
1 parent 469ad7e commit 07aa551
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions monai/visualize/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
"""

Expand Down

0 comments on commit 07aa551

Please sign in to comment.