Skip to content

2980 Add channel_wise to ScaleIntensity transform#3062

Merged
Nic-Ma merged 7 commits intoProject-MONAI:devfrom
Nic-Ma:2980-add-channel-wise
Oct 4, 2021
Merged

2980 Add channel_wise to ScaleIntensity transform#3062
Nic-Ma merged 7 commits intoProject-MONAI:devfrom
Nic-Ma:2980-add-channel-wise

Conversation

@Nic-Ma
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Nic-Ma commented Oct 3, 2021

/black

@Nic-Ma Nic-Ma requested review from ericspod, rijobro and wyli October 3, 2021 14:55
Copy link
Copy Markdown
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