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

Microscopy images (modality = SM) doesn't render on the viewer. #94

Closed
md-prog opened this issue Mar 17, 2023 · 1 comment
Closed

Microscopy images (modality = SM) doesn't render on the viewer. #94

md-prog opened this issue Mar 17, 2023 · 1 comment
Labels
data Data not conformant with DICOM standard

Comments

@md-prog
Copy link

md-prog commented Mar 17, 2023

Similar to the issue #31 , but different reason.

The reason is: FrameOfReferenceUID of each layer of the image pyramid is often different ( usually not totally different but with some matches, for example, 2.16.840.1.113883.3.8467.132979444839078229637890676839078229.10 and 2.16.840.1.113883.3.8467.132979444839078229637890676839078229.9, only the last number 10 and 9 is different), when the DICOM is generated by aggregating the layer images.

I recognize if these numbers are different between layers, we would have problems when rendering annotations.
But on the condition that we are not using the annotations, it should at least render the image.

This is the line where it was blocked by throwing error:

if (metadata[0].FrameOfReferenceUID !== metadata[i].FrameOfReferenceUID) {

@hackermd hackermd added the data Data not conformant with DICOM standard label Mar 19, 2023
@hackermd
Copy link
Collaborator

The Frame of Reference UID must be identical between images. If the images were defined in a different Frame of Reference (i.e., coordinate system), they would need to be registered to be visualized together in the same viewport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Data not conformant with DICOM standard
Projects
None yet
Development

No branches or pull requests

2 participants