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

DICOM Seg Writer operater: Fix for case where input image is already a numpy array #515

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

CPBridge
Copy link
Collaborator

@CPBridge CPBridge commented Jan 15, 2025

Potential fix for #510 (@kavmar)

@CPBridge CPBridge force-pushed the bug/dicom_seg_operator_numpy_input branch from 668e24f to 14fb7aa Compare January 15, 2025 02:30
@CPBridge CPBridge requested a review from MMelQin January 17, 2025 15:48
@CPBridge
Copy link
Collaborator Author

Not sure why I'm getting errors on this that are unrelated to my changes

…ure correct MD SDK is used in dev env (#516)

* Add post intall action to patch holoscan package, v2.7 and 2.8

Signed-off-by: M Q <[email protected]>

* Update fixed turorials

Signed-off-by: M Q <[email protected]>

* Updated the setup post install action, local sdk version, and notebook examples

Signed-off-by: M Q <[email protected]>

* Updated the doc too

Signed-off-by: M Q <[email protected]>

* Fix linting error

Signed-off-by: M Q <[email protected]>

---------

Signed-off-by: M Q <[email protected]>
Copy link
Collaborator

@MMelQin MMelQin left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this. Rebased to get rid of the CI errors.
At one time there was a design decision to encourage users to use the SDK's own Image object (numpy array + metadata) so that the metadata can be validated along the way before being passed down to the seg writer. If numpy array is directly used, the user then needs to ensure that it represents a image compatible with the original input image.

@MMelQin MMelQin merged commit a80f231 into main Jan 23, 2025
4 checks passed
@MMelQin MMelQin deleted the bug/dicom_seg_operator_numpy_input branch January 23, 2025 01:12
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.

2 participants