Replies: 1 comment
-
If you have all the UIDs (Study / Series / SOP), you can make use of Search for Instances of Series of Study REST API by passing query filters
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When retrieving a DICOM instance (via WADO-RS retrieve instance), is it possible to obtain the size of the DICOM file, without having to stream the entire thing?
For instance, I have a local dcm4chee server, and if I run code like this:
It would be very helpful to know either the DICOM file size, or the number of bytes that will be streamed, before streaming (or after only streaming the header). I don't see a
Content-Length
inresult.headers
. Is there another way to know how large the DICOM file is (or how much data will be streamed)? Maybe there is something in the DICOMweb standard I am missing?For the imaging data commons server, the request does return the content length:
I can use the
Content-Length
, along with the multipart/related boundary size and streaming a little header information in, to figure out exactly how large (in bytes) the DICOM file is, without having to stream the whole thing.Is there a way to get the DICOM file size in dcm4chee without streaming the whole thing?
Beta Was this translation helpful? Give feedback.
All reactions