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

Length tool in modalities CT, DX, MG show the units in pixels #150

Closed
christianvargasforero opened this issue Jan 10, 2018 · 5 comments
Closed
Assignees

Comments

@christianvargasforero
Copy link

I have been testing the length tool in different modalities and I see that only in CT shows the units in mm. The tests were done on the most recent version of the viewer and the configuration used is that of dcm4cheeDIMSE.

In the DX, CR, MG modes, the tool displays the units in pixels.

I send the samples so they can try.

DX --> Units in pixels.
dx
DICOM Files:
IM-0001-0001-0001.dcm.zip

CR --> Units in pixels.
cr
DICOM Files:
IM-0001-0001-0001.dcm.zip

MG --> Units in pixels.
mg
DICOM Files:
https://drive.google.com/file/d/1t5pS4QPjhIbUPvCGGY6CtgmNU9LeWlwf/view?usp=sharing

CT --> OK units in mm.
ct
DICOM Files:
https://drive.google.com/file/d/1EcO_5Gt8JxGs10ICcjgri1cQJXkRH1Za/view?usp=sharing

Thank you very much, I remain attentive to your comments.

@swederik swederik added the bug label Jan 12, 2018
@swederik swederik self-assigned this Jan 12, 2018
@radicalrob radicalrob assigned radicalrob and swederik and unassigned swederik and radicalrob Feb 14, 2018
@kuronae12
Copy link

Hi guys, also experiencing this issue on DX and MG modalities, anyone have comments on this?

@lam0620
Copy link
Contributor

lam0620 commented Apr 17, 2018

It work on DX and MG of latest version (unit is mm).
However, XA is still displayed in pixel of unit.

XA --> Unit in pixels.

image

@christianvargasforero
Copy link
Author

Resolved

@UdayRiaz
Copy link

Hi Christian Vargas,
Can you please help me out to get the fixed code of this thread, Still the measurement tool showing in pixels for MG and DX modalities with the latest git version of the viewer code.

@dannyrb
Copy link
Member

dannyrb commented Oct 10, 2019

This happens if the DICOM does not have a pixelSpacing tag. We need it to convert pixel length to mm.

@OHIF OHIF locked as resolved and limited conversation to collaborators Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants