Skip to content

Add new "get pixels by source" methods#426

Merged
CPBridge merged 2 commits into
v0.28.0devfrom
feature/get_pixels_by_source
Jul 7, 2026
Merged

Add new "get pixels by source" methods#426
CPBridge merged 2 commits into
v0.28.0devfrom
feature/get_pixels_by_source

Conversation

@CPBridge

@CPBridge CPBridge commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Add new methods for accessing pixels using source UIDs:

  • Add get_pixels_by_source_instance and get_pixels_by_source_frame to the highdicom.Image class. Similar method already exist on the Segmentation class, but not the more general Image class. This is primarily motivated by the Parametric Map use case, but can be used on any image that contains per-frame references to source instances/frames.
  • Add a specific get_pixels_by_legacy_source_instance method for Legacy Converted Enhanced classes that allow for retrieval of pixels using the conversion source information (i.e. SOP Instance UID of legacy instance)

@CPBridge CPBridge self-assigned this Jul 7, 2026
@CPBridge CPBridge added the enhancement New feature or request label Jul 7, 2026
@CPBridge CPBridge merged commit 162cee0 into v0.28.0dev Jul 7, 2026
8 checks passed
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