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

API: Limited "presentation state" support (GE proposal) #141

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

forderud
Copy link
Member

This will expose a sorted list of slice/rendering "views" that clients can utilize to reconstruct slice/rendering views that are similar to the views shown on screen when saving the original data.

Out of scope for now:

  • The on-screen layout is currently not exposed. Clients will need to handle positioning themselves, which might not match the original layout.
  • Perspective projections is not currently supported, only a orthographic cube. Clip-planes is similarly not supported either. Implementers will therefore need to expose the orthographic representation that most closely resembles what is displayed on the original system.

Views are encoded with the following parameters:

  • Origin: x,y,z (top-left corner of the view)
  • dir1: x,y,z (directional vector from top-left to top-right corner)
  • dir2: x.y,z (directional vector from top-left to bottom-right corner)
  • dir3: x.y,z (directional vector from front-top-left to back-top-left corner). Zero on slices.

Assumptions:

  • It's possible to somehow infer the default slice/rendering "views" from a rawdicom file.
  • It's possible to dynamically change the "views" in the PACS system based on this metadata.

Example

image

forderud and others added 2 commits May 25, 2020 15:25
This will expose a sorted list of slice/rendering "views" that clients can utilize to reconstruct slice/rendering views that are similar to the views shown on screen when saving the original data.

Out of scope for now:
* The on-screen layout is currently _not_ exposed. Clients will need to handle positioning themselves, which might not match the original layout.
* Perspective projections is not currently supported, only a orthographic cube. Clip-planes is similarly not supported either. Implementers will therefore need to expose the orthographic representation that most closely resembles what is displayed on the original system.
Only an API update so far. Actual color-flow support will be added in a later PR.
@forderud forderud marked this pull request as draft July 14, 2021 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant