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

Fractional and Multisegment Pyramids #297

Merged
merged 4 commits into from
Jun 27, 2024

Conversation

CPBridge
Copy link
Collaborator

Currently the highdicom.seg.create_segmentation_pyramid function does not correctly support segmentation pixel arrays that are:

  • Floating point-valued, and/or
  • Contain multiple segments stacked down the last axis

Without API changes, this PR supports these segmentation arrays correctly. Interpolation for fractional segmentations with floating point values is achieved through bi-linear interpolation.

@CPBridge CPBridge added the enhancement New feature or request label Jun 24, 2024
@CPBridge CPBridge self-assigned this Jun 24, 2024
@CPBridge CPBridge merged commit ad46d6c into v0.23.0dev Jun 27, 2024
@CPBridge CPBridge deleted the feature/fractional_pyramids branch June 27, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant