Skip to content

WIP: Extend API with "presentation state" support - DO NOT MERGE #1

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

Closed
wants to merge 3 commits into from

Conversation

forderud
Copy link
Owner

@forderud forderud commented Aug 4, 2019

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 August 5, 2019 22:42
DOC: Return empty EcgSeries if EGC is not available
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.
@forderud
Copy link
Owner Author

Have now published the proposal on MedicalUltrasound#141 . Therefore, closing this PR.

@forderud forderud closed this Sep 11, 2019
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.

1 participant