Hey, I`m trying to get a thumbnail for each of my series. For that im currently asking for the middle instance by querying with limit 1 and the fitting offset.
However when requesting the rendered version as jpeg/png (with dicom-web/studies/{studyid}/series/{seriesId}/instances/{instanceUID}/rendered) the windowing on CT scans will create a black picture. I can fix this by setting the correct windowing, but for that I need to load the whole dicom file( if Im not worng). Is there an easy way to get a thumbnail/preview?
I know there is a function in the regular api with /preview which works and was wondering if there is some easy way to achieve something similar with the dicom-web api?
Ideas I had were:
- See if study is CT or MRI or X-Ray and have general settings for each
- Somehow load one dicom instance and read the VOI LUT table where the window level and center should be available as tags(if im not wrong)