Skip to content

1575 Add SaveImage and SaveImaged transforms#1612

Merged
wyli merged 11 commits into
Project-MONAI:masterfrom
Nic-Ma:1575-add-saveimage
Feb 23, 2021
Merged

1575 Add SaveImage and SaveImaged transforms#1612
wyli merged 11 commits into
Project-MONAI:masterfrom
Nic-Ma:1575-add-saveimage

Conversation

@Nic-Ma

@Nic-Ma Nic-Ma commented Feb 22, 2021

Copy link
Copy Markdown
Contributor

Fixes #1575 .

Description

This PR added the SaveImage and SaveImaged transforms to save data in both pre-transforms and post-transforms.
This can be a useful debugging tool and output tool, like the existing DataStats transform.

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 --codeformat --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

Comment thread monai/transforms/io/array.py
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Feb 22, 2021

Copy link
Copy Markdown
Contributor Author

/black

@rijobro rijobro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good!

@Nic-Ma

Nic-Ma commented Feb 22, 2021

Copy link
Copy Markdown
Contributor Author

/black

@Nic-Ma Nic-Ma enabled auto-merge (squash) February 22, 2021 17:04
@Nic-Ma Nic-Ma disabled auto-merge February 22, 2021 17:04
Comment thread monai/data/png_writer.py Outdated
Signed-off-by: Nic Ma <nma@nvidia.com>
@Nic-Ma

Nic-Ma commented Feb 22, 2021

Copy link
Copy Markdown
Contributor Author

/black

Signed-off-by: Nic Ma <nma@nvidia.com>
Comment thread monai/transforms/io/dictionary.py
@wyli wyli merged commit a664506 into Project-MONAI:master Feb 23, 2021
@Nic-Ma Nic-Ma deleted the 1575-add-saveimage branch July 2, 2021 23:37
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.

Add SaveNifti transform to debug transform chain

4 participants