-
Notifications
You must be signed in to change notification settings - Fork 21
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
Pixel Data Not Found #91
Comments
Newer Siemens units use enhanced DICOM by default when exporting, and it looks like DICOM.jl struggles to read the deeply nested sequences in the header. So it trips up before reaching the pixel data. Edit: On a closer look, the nested sequences are being parsed, so maybe it's a specific element in a sequence causing the issue. |
Oh wow thank you for being so quick to respond. I appreciate you looking into this very much! |
The current (unreleased) master tries to quickly/temporarily fix this. I tried the following: dcm = dcm_parse(path_70_kev)
rescale!(dcm)
# Using Plots
heatmap(dcm.PixelData, aspect_ratio=1, color=:grays, yflip=true, clim=(-1000, 2000), axis=false, grid=false) and it approximately matches what I see in a dicom viewer. Let me know if it works for you. |
Great, this works and has the correct pixel data! |
I will try to get around to diagnosing this issue, but for some reason the pixel data from this image (from a new photon counting CT) is not found using DICOM.jl but works fine with pydicom
Here is my Julia attempt:
Which errors:
Whereas with pydicom (via PythonCall)
this works completely fine.
MonoE 70keV 200mA.dcm.zip
The text was updated successfully, but these errors were encountered: