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

Issues with multi-frame dicom files #126

Open
pritamrungta opened this issue May 13, 2024 · 0 comments
Open

Issues with multi-frame dicom files #126

pritamrungta opened this issue May 13, 2024 · 0 comments

Comments

@pritamrungta
Copy link

Describe the bug
Trying to load a multi-frame dicom file. Getting incorrect image_shape (just width and height) and is_multi_frame=False.

To Reproduce
Steps to reproduce the behavior:

  1. parse a multi frame dicom file
  2. can't see information regarding the frames

Expected behavior
Should be able to read the file as multi frame and get all individual frames' headers + pixel data as well.

Screenshots
NA

Desktop (please complete the following information):

  • OS: MacOS Sonoma (M1 chip)
  • Browser: NA
  • Version: 14.4.1

Smartphone (please complete the following information):

  • Device: NA
  • OS: NA
  • Browser: NA
  • Version: NA

Additional context

Attached a synthetic file for reference.
multi-frame.dcm.zip

pydicom seems to correctly read all the frames. So, for the above file:

  • pydicom.dcmread('multi-frame.dcm').pixel_array.shape = (2, 3, 4)
  • dicom_parser.Image('multi-frame.dcm').image_shape = (3, 4)

Is this already supported through a different method which I've overlooked by chance?

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

1 participant