-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
Converting DICOM to Image results into "blacked" image #301
Comments
This is normal for now, because we do not apply any automatic intensity scaling yet (see README) see #2. If you go into an editor or programmatically adjust the window width and center you'll most likely see the data is indeed there. For now we write out the exact Pixel values in the dicom without scaling for safety. Since you're on a mac, in Preview you can go to Tools->Adjust Color and see if the data is there. I will look back into automatic intensity scaling soon! |
Hey I created a PR for having the scaling as well :) #304 |
hi, i use your code,but is not work ,The image is white,can you help me? thanks |
ok,I have solved my problem myself,lol |
hi,can you tell me how to slove it. i have the same problem now |
I changed the value of the underlying image of the dicom file by changing |
Hey,Do you use window width and window center to change the pix value of image? |
Hey all,
so I am new to this amazing library and using it in my research to analyze MRT pictures automatically.
I tried the following code which was also given at godoc
where
dataPath
is the path showing to the DICOM file. I tried from the test file foldertestdata/4.dcm
and it resulted into a completely black image.Is this behavior normal? Did I used it wrongly?
Please let me know. Thank you very much
System: MacOS 14.2.1 (23C71)
Go Version: 1.21.1
IDE: IntelliJ IDEA 2023.3.3
The text was updated successfully, but these errors were encountered: