Skip to content

2980 Add channel_wise to ScaleIntensity transform #3062

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

Merged
merged 7 commits into from
Oct 4, 2021

Conversation

Nic-Ma
Copy link
Contributor

@Nic-Ma Nic-Ma commented Oct 3, 2021

Fixes #2980 .

Description

This PR added the channel_wise arg to the ScaleIntensity transform.
No need to add to RandIntensity transform because it uses random factor to scale.

Status

Ready

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.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma
Copy link
Contributor Author

Nic-Ma commented Oct 3, 2021

/black

@Nic-Ma Nic-Ma requested review from rijobro, wyli and ericspod October 3, 2021 14:55
Copy link
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, it looks good to me.

@Nic-Ma Nic-Ma enabled auto-merge (squash) October 4, 2021 01:02
@Nic-Ma Nic-Ma merged commit 15c1f77 into Project-MONAI:dev Oct 4, 2021
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.

ScaleIntensity should give the option for channel_wise
2 participants