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

[Bug] DX modality,Error measuring with the LengthTool #1783

Open
934556826 opened this issue Jan 25, 2025 · 2 comments
Open

[Bug] DX modality,Error measuring with the LengthTool #1783

934556826 opened this issue Jan 25, 2025 · 2 comments

Comments

@934556826
Copy link

934556826 commented Jan 25, 2025

Describe the Bug

Using the latest version "@cornerstonejs/core": "^2.17.3", the length tool is used to measure on DX images, and the results are incorrect

Steps to Reproduce

1.load DX dicom File

DX.zip
2.Active LengthTool

The current behavior

MicroDicom Viewer
Image
cornerstone3D

Image

The expected behavior

fix

OS

window11

Node version

18.17.0

Browser

Chrome 132.0.6834.84

@934556826
Copy link
Author

Open this file DX.zip file on OHIF, the measurement is correct, why is this

Image

@sedghi
Copy link
Member

sedghi commented Jan 29, 2025

OHIF has a metadata provider on top of cornerstone which is based on individual instance metadata, so you'll likely need to extract the metadata and add it to cornerstone as well. Take a look at packages/core/src/utilities/calibratedPixelSpacingMetadataProvider.ts and how OHIF uses that

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

No branches or pull requests

2 participants