Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning in RandHistogramShift #5877

Merged
merged 3 commits into from
Jan 19, 2023

Conversation

KumoLiu
Copy link
Contributor

@KumoLiu KumoLiu commented Jan 19, 2023

Signed-off-by: KumoLiu yunl@nvidia.com

Fixes #5875 .

Description

Add warning in RandHistogramShift when the image's intensity is a single value.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
Signed-off-by: KumoLiu <yunl@nvidia.com>
@wyli
Copy link
Member

wyli commented Jan 19, 2023

/build

@wyli wyli enabled auto-merge (squash) January 19, 2023 18:06
@wyli wyli merged commit 2c5c89f into Project-MONAI:dev Jan 19, 2023
@KumoLiu KumoLiu deleted the add-warn-in-randhistogramhhift branch January 20, 2023 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RandHistogramShift transform gives nan values for input when all values are 0
2 participants