You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that pydicom relies on third-party packages to decode compressed files, and these support only a limited number of transfer syntaxes, video codecs not among them.
I agree that it makes sense to also support video transfer syntaxes, but for this we need to have a suitable Python package with a compatible license that is able to decode them and has a suitable interface to write an adapter (image data handler) for pydicom. We certainly won't write a decoder ourselves.
This is not something that will be done in the near future IMHO (except someone turns up with a suitable PR...), so if that is urgent for you I'm afraid yiu are out of luck.
Just to clarify, the Dataset.pixel_array property is unable to return the data as a numpy array, however the raw video data stream is still available in Dataset.PixelData. You should be able to convert that to a regular video file and do with it as you wish.
Hi
I'm starting to work with DICOM VIDEOS such as the one attached, but in multiple cases it seems pydicom is not able to read the data.
video_heart.zip
I wanted to ask if you could give support to such type of files. At the time being I'm getting the following error with pydicom==2.3.1
Best.
The text was updated successfully, but these errors were encountered: